summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crate_in_macro_def.stderr
blob: 3e624618237c2e2a31919cec29e9d1ac0e3747c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: `crate` references the macro call's crate
  --> $DIR/crate_in_macro_def.rs:18:28
   |
LL |             println!("{}", crate::unhygienic::MESSAGE);
   |                            ^^^^^ help: to reference the macro definition's crate, use: `$crate`
   |
   = note: `-D clippy::crate-in-macro-def` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::crate_in_macro_def)]`

error: aborting due to previous error