fn resolve_path<'a>(
    cx: &mut ExtCtxt<'a>,
    path: impl Into<PathBuf>,
    span: Span
) -> PResult<'a, PathBuf>
Expand description

Resolves a path mentioned inside Rust code, returning an absolute path.

This unifies the logic used for resolving include_X!.