Skip to content

Commit

Permalink
Rollup merge of #96925 - c410-f3r:z-errors, r=JohnTitor
Browse files Browse the repository at this point in the history
Fix issue #95151

Fixes  #95151

Nothing special here, just a test for a thing that used to ICE.
  • Loading branch information
JohnTitor authored May 11, 2022
2 parents 304c116 + aea3b22 commit 514b585
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 514b585

Please sign in to comment.