diff options
| author | Ethan Brierley <ethanboxx@gmail.com> | 2023-09-19 21:21:01 +0100 |
|---|---|---|
| committer | Ethan Brierley <ethanboxx@gmail.com> | 2023-09-19 21:21:01 +0100 |
| commit | 2243872c26ae414d492d844a1cd03d42884008bc (patch) | |
| tree | 0cfb7d0cc35eadec659173115288241dee45e72c /compiler/rustc_resolve/src | |
| parent | 0692db1a9082380e027f354912229dfd6af37e78 (diff) | |
| download | rust-2243872c26ae414d492d844a1cd03d42884008bc.tar.gz rust-2243872c26ae414d492d844a1cd03d42884008bc.zip | |
fix confusing let chain indentation in rustc_resolve
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/imports.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_resolve/src/imports.rs b/compiler/rustc_resolve/src/imports.rs index 820ac9ef61b..d271519a8a3 100644 --- a/compiler/rustc_resolve/src/imports.rs +++ b/compiler/rustc_resolve/src/imports.rs @@ -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!(), |
