We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
use ...::prelude::*;
1 parent 2d8a362 commit f56b0a1Copy full SHA for f56b0a1
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