From 9b304533abac7479f168c0aaa1b6282194f4c128 Mon Sep 17 00:00:00 2001 From: Samuel Moelius <35515885+smoelius@users.noreply.github.com> Date: Wed, 30 Mar 2022 12:40:16 -0400 Subject: [PATCH] Update clippy_lints/src/crate_in_macro_def.rs Co-authored-by: llogiq --- clippy_lints/src/crate_in_macro_def.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/crate_in_macro_def.rs b/clippy_lints/src/crate_in_macro_def.rs index 21c65f9d6f0..844887dcbe5 100644 --- a/clippy_lints/src/crate_in_macro_def.rs +++ b/clippy_lints/src/crate_in_macro_def.rs @@ -62,7 +62,7 @@ fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { cx, CRATE_IN_MACRO_DEF, span, - "reference to the macro call's crate, which is rarely intended", + "`crate` references the macro call's crate", "if reference to the macro definition's crate is intended, use", String::from("$crate"), Applicability::MachineApplicable, -- 2.44.0