We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ceb9b7d + f56b0a1 commit df64ea6Copy full SHA for df64ea6
clippy_lints/src/wildcard_imports.rs
@@ -43,6 +43,10 @@ declare_clippy_lint! {
43
///
44
/// This can lead to confusing error messages at best and to unexpected behavior at worst.
45
46
+ /// Note that this will not warn about wildcard imports from modules named `prelude`; many
47
+ /// crates (including the standard library) provide modules named "prelude" specifically
48
+ /// designed for wildcard import.
49
+ ///
50
/// **Known problems:** If macros are imported through the wildcard, this macro is not included
51
/// by the suggestion and has to be added by hand.
52
0 commit comments