Function syntax::ext::source_util::expand_file
[−]
[src]
ⓘImportant traits for Box<R>
pub fn expand_file(
cx: &mut ExtCtxt,
sp: Span,
tts: &[TokenTree]
) -> Box<MacResult + 'static>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
file!(): expands to the current filename */
The filemap (loc.file
) contains a bunch more information we could spit
out if we wanted.