[−][src]Function syntex_syntax2::ext::source_util::expand_line
pub fn expand_line(
cx: &mut ExtCtxt,
sp: Span,
tts: &[TokenTree]
) -> Box<dyn MacResult + 'static>
line!(): expands to the current line number
pub fn expand_line(
cx: &mut ExtCtxt,
sp: Span,
tts: &[TokenTree]
) -> Box<dyn MacResult + 'static>
line!(): expands to the current line number