mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
11 lines
368 B
Plaintext
11 lines
368 B
Plaintext
error: `crate` references the macro call's crate
|
|
--> $DIR/crate_in_macro_def.rs:19: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`
|
|
|
|
error: aborting due to previous error
|
|
|