Function syntax::ext::source_util::expand_fileUnstable [-] [+] [src]

pub fn expand_file(cx: &mut ExtCtxt, sp: Span, tts: &[TokenTree]) -> Box<MacResult + 'static>

file!(): expands to the current filename */ The filemap (loc.file) contains a bunch more information we could spit out if we wanted.