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