rust/tests/ui/errors/auxiliary/file-diag.rs
Urgau d0d8258886 Stabilize -Zremap-path-scope as --remap-path-scope
In the process also document that new `--remap-path-scope` scopes may be
added in the future, and that the `all` scope always represent all the
scopes.

Co-authored-by: David Wood <agile.lion3441@fuligin.ink>
2025-12-13 21:21:59 +01:00

11 lines
222 B
Rust

//@ compile-flags: --remap-path-prefix={{src-base}}=remapped
//@ compile-flags: --remap-path-scope=diagnostics
#[macro_export]
macro_rules! my_file {
() => { file!() }
}
pub fn file() -> &'static str {
file!()
}