mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-09 08:27:38 +00:00
Update clippy_lints/src/crate_in_macro_def.rs
Co-authored-by: llogiq <bogusandre@gmail.com>
This commit is contained in:
parent
9b304533ab
commit
abc221e7f6
@ -63,7 +63,7 @@ impl EarlyLintPass for CrateInMacroDef {
|
|||||||
CRATE_IN_MACRO_DEF,
|
CRATE_IN_MACRO_DEF,
|
||||||
span,
|
span,
|
||||||
"`crate` references the macro call's crate",
|
"`crate` references the macro call's crate",
|
||||||
"if reference to the macro definition's crate is intended, use",
|
"to reference the macro definition's crate, use",
|
||||||
String::from("$crate"),
|
String::from("$crate"),
|
||||||
Applicability::MachineApplicable,
|
Applicability::MachineApplicable,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user