Function rustc_expand::base::resolve_path
source · pub fn resolve_path(
sess: &Session,
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!
.