Unused tuple fields in rustc_resolve.
This commit is contained in:
parent
ec83476748
commit
9450f822fb
5 changed files with 9 additions and 9 deletions
|
@ -1434,7 +1434,7 @@ impl<'a: 'ast, 'ast> LateResolutionVisitor<'a, '_, 'ast> {
|
|||
// Items from this module
|
||||
self.r.add_module_candidates(module, &mut names, &filter_fn);
|
||||
|
||||
if let ModuleKind::Block(..) = module.kind {
|
||||
if let ModuleKind::Block = module.kind {
|
||||
// We can see through blocks
|
||||
} else {
|
||||
// Items from the prelude
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue