Document that wildcard_imports doesn't warn about use ...::prelude::*;
This commit is contained in:
parent
2d8a362cbe
commit
f56b0a1b34
@ -43,6 +43,10 @@
|
||||
///
|
||||
/// This can lead to confusing error messages at best and to unexpected behavior at worst.
|
||||
///
|
||||
/// Note that this will not warn about wildcard imports from modules named `prelude`; many
|
||||
/// crates (including the standard library) provide modules named "prelude" specifically
|
||||
/// designed for wildcard import.
|
||||
///
|
||||
/// **Known problems:** If macros are imported through the wildcard, this macro is not included
|
||||
/// by the suggestion and has to be added by hand.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user