pub fn resolve_path(
    parse_sess: &ParseSess,
    path: impl Into<PathBuf>,
    span: Span
) -> PResult<'_, PathBuf>
Expand description

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

This unifies the logic used for resolving include_X!.