Function syntax::ext::source_util::expand_file
[−]
[src]
pub fn expand_file(cx: &mut ExtCtxt,
sp: Span,
tts: &[TokenTree])
-> Box<MacResult + 'static>
🔬 This is a nightly-only experimental API. (
rustc_private
)file!(): expands to the current filename */
The filemap (loc.file
) contains a bunch more information we could spit
out if we wanted.