Rollup merge of #99729 - cjgillot:rm-unused-tuple, r=michaelwoerister
Remove unused tuple fields Found by https://github.com/rust-lang/rust/pull/95977
This commit is contained in:
commit
ddb6a46316
6 changed files with 27 additions and 31 deletions
|
@ -1444,7 +1444,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