2022-04-07 12:39:59 -05:00
|
|
|
error: `crate` references the macro call's crate
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/crate_in_macro_def.rs:18:28
|
2022-04-07 12:39:59 -05:00
|
|
|
|
|
|
|
|
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`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::crate_in_macro_def)]`
|
2022-04-07 12:39:59 -05:00
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-04-07 12:39:59 -05:00
|
|
|
|