about summary refs log tree commit diff
path: root/tests/ui/rfcs/rfc-2091-track-caller/macro-declaration.rs
blob: f003e40fa55f55101ab2f29df10a030f7671c6e9 (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass

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

fn main() {
}