]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crate_in_macro_def.stderr
Rollup merge of #102581 - jyn514:src-detection, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / tests / ui / crate_in_macro_def.stderr
1 error: `crate` references the macro call's crate
2   --> $DIR/crate_in_macro_def.rs:19:28
3    |
4 LL |             println!("{}", crate::unhygienic::MESSAGE);
5    |                            ^^^^^ help: to reference the macro definition's crate, use: `$crate`
6    |
7    = note: `-D clippy::crate-in-macro-def` implied by `-D warnings`
8
9 error: aborting due to previous error
10