2022-03-30 11:52:31 -05:00
|
|
|
error: `crate` references the macro call's crate
|
2022-03-23 20:08:52 -05:00
|
|
|
--> $DIR/crate_in_macro_def.rs:19:28
|
|
|
|
|
|
|
|
|
LL | println!("{}", crate::unhygienic::MESSAGE);
|
2022-03-30 11:52:31 -05:00
|
|
|
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
2022-03-23 20:08:52 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::crate-in-macro-def` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|