Skip to content

Commit

Permalink
Fix issue #95151
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed May 10, 2022
1 parent fee75fb commit aea3b22
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/ui/rfc-2091-track-caller/macro-declaration.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// check-pass

// See https://github.com/rust-lang/rust/issues/95151
#[track_caller]
macro_rules! _foo {
() => {};
}

fn main() {
}

0 comments on commit aea3b22

Please sign in to comment.