Skip to content

Commit

Permalink
Unrolled build for rust-lang#115983
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#115983 - eopb:confusing-if-chain-indent, r=compiler-errors

fix confusing let chain indentation in rustc_resolve

Sorry for opening a PR for such a minor style fix.
This just felt sufficiently misleading to warrant fixing.
  • Loading branch information
rust-timer authored Sep 20, 2023
2 parents 0e11725 + 2243872 commit 6df3c5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_resolve/src/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(),
Expand Down

0 comments on commit 6df3c5c

Please sign in to comment.