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,
|
||||
span,
|
||||
"`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"),
|
||||
Applicability::MachineApplicable,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user