We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0dd5c4d + 1338829 commit 379c8f4Copy full SHA for 379c8f4
clippy_lints/src/macro_use.rs
@@ -21,7 +21,21 @@ declare_clippy_lint! {
21
/// ### Example
22
/// ```rust,ignore
23
/// #[macro_use]
24
- /// use some_macro;
+ /// extern crate some_crate;
25
+ ///
26
+ /// fn main() {
27
+ /// some_macro!();
28
+ /// }
29
+ /// ```
30
31
+ /// Use instead:
32
33
+ /// ```rust,ignore
34
+ /// use some_crate::some_macro;
35
36
37
38
39
/// ```
40
#[clippy::version = "1.44.0"]
41
pub MACRO_USE_IMPORTS,
0 commit comments