Rollup merge of #96925 - c410-f3r:z-errors, r=JohnTitor
Fix issue #95151 Fixes #95151 Nothing special here, just a test for a thing that used to ICE.
This commit is contained in:
commit
514b585757
10
src/test/ui/rfc-2091-track-caller/macro-declaration.rs
Normal file
10
src/test/ui/rfc-2091-track-caller/macro-declaration.rs
Normal file
@ -0,0 +1,10 @@
|
||||
// check-pass
|
||||
|
||||
// See https://github.com/rust-lang/rust/issues/95151
|
||||
#[track_caller]
|
||||
macro_rules! _foo {
|
||||
() => {};
|
||||
}
|
||||
|
||||
fn main() {
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user