mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 05:04:23 +00:00
19 lines
281 B
Rust
19 lines
281 B
Rust
// Imports suppress the `out_of_scope_macro_calls` lint.
|
|
|
|
//@ check-pass
|
|
//@ edition:2018
|
|
|
|
#![doc = in_root!()]
|
|
|
|
macro_rules! in_root { () => { "" } }
|
|
use in_root;
|
|
|
|
mod macros_stay {
|
|
#![doc = in_mod!()]
|
|
|
|
macro_rules! in_mod { () => { "" } }
|
|
use in_mod;
|
|
}
|
|
|
|
fn main() {}
|