mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
d0d8258886
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>
12 lines
220 B
Rust
12 lines
220 B
Rust
//@ compile-flags: --remap-path-prefix={{src-base}}=remapped
|
|
//@ compile-flags: --remap-path-scope=debuginfo
|
|
|
|
#[macro_export]
|
|
macro_rules! my_file {
|
|
() => { file!() }
|
|
}
|
|
|
|
pub fn file() -> &'static str {
|
|
file!()
|
|
}
|