mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 18:15:01 +00:00
5b07b9ed61
Prelude imports are exempt from wildcard import warnings. Until now only imports of the form ``` use ...::prelude::*; ``` were considered. This change makes it so that the segment `prelude` can show up anywhere, for instance: ``` use ...::prelude::v1::*; ``` Fixes #5917 |
||
---|---|---|
.. | ||
doc_unsafe_macros.rs | ||
implicit_hasher_macros.rs | ||
macro_rules.rs | ||
macro_use_helper.rs | ||
option_helpers.rs | ||
proc_macro_attr.rs | ||
proc_macro_derive.rs | ||
use_self_macro.rs | ||
wildcard_imports_helper.rs |