Add warn-by-default lint for local binding shadowing exported glob re-export item
This commit is contained in:
parent
1a5f8bce74
commit
b9606589c4
12 changed files with 207 additions and 27 deletions
|
@ -53,7 +53,6 @@ use rustc_span::symbol::{kw, sym, Ident, Symbol};
|
|||
use rustc_span::{ExpnId, ExpnKind, Span};
|
||||
use rustc_target::abi::{Align, FieldIdx, Integer, IntegerType, VariantIdx};
|
||||
pub use rustc_target::abi::{ReprFlags, ReprOptions};
|
||||
use rustc_type_ir::WithCachedTypeInfo;
|
||||
pub use subst::*;
|
||||
pub use vtable::*;
|
||||
|
||||
|
@ -145,6 +144,7 @@ mod opaque_types;
|
|||
mod parameterized;
|
||||
mod rvalue_scopes;
|
||||
mod structural_impls;
|
||||
#[cfg_attr(not(bootstrap), allow(hidden_glob_reexports))]
|
||||
mod sty;
|
||||
mod typeck_results;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue