about summary refs log tree commit diff
path: root/tests/ui/errors/auxiliary/file-diag.rs
blob: f29c349f703b2b1310668122e00015fd7a1edafe (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ compile-flags: --remap-path-prefix={{src-base}}=remapped
//@ compile-flags: -Zremap-path-scope=diagnostics

#[macro_export]
macro_rules! my_file {
    () => { file!() }
}

pub fn file() -> &'static str {
    file!()
}