macros: The line number that panic! reports can be wrong in macro invocations · Issue #40649 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Assignees

jseyfried

@jseyfried

Description

@jseyfried

For example,

macro_rules! identity_macro { ($($t:tt)) => { (((t) } }

fn main() { identity_macro! { //< Today, the message says we panic here. panic!("") } }

Metadata

Metadata

Development

No branches or pull requests

Issue actions