path!() { /* proc-macro */ }
usage:
path!(std::sync::Arc);
This expands to
#[allow(non_upper_case_globals)] pub const Arc: crate_paths::Path = { #[allow(unused_imports)] use std::sync::Arc as _; crate_paths::Path::new("std::sync::Arc") };