fix confusing let chain indentation in rustc_resolve
This commit is contained in:
parent
0692db1a90
commit
2243872c26
1 changed files with 3 additions and 3 deletions
|
@ -991,9 +991,9 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
if !is_prelude
|
||||
&& let Some(max_vis) = max_vis.get()
|
||||
&& !max_vis.is_at_least(import.expect_vis(), self.tcx)
|
||||
{
|
||||
self.lint_buffer.buffer_lint(UNUSED_IMPORTS, id, import.span, fluent::resolve_glob_import_doesnt_reexport);
|
||||
}
|
||||
{
|
||||
self.lint_buffer.buffer_lint(UNUSED_IMPORTS, id, import.span, fluent::resolve_glob_import_doesnt_reexport);
|
||||
}
|
||||
return None;
|
||||
}
|
||||
_ => unreachable!(),
|
||||
|
|
Loading…
Add table
Reference in a new issue