diff options
| author | bors <bors@rust-lang.org> | 2023-12-12 06:23:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-12 06:23:03 +0000 |
| commit | 1c15b82b8a3c6fc36cf0f20bbf33a2e316be1e80 (patch) | |
| tree | a519de7ad16b91715b22ed067c64b401df787736 /compiler/rustc_resolve/src | |
| parent | 5f5d2486022ad81e999d1135ad850c4085c65bd4 (diff) | |
| parent | dae76b772d0a4ffbb0e89b1cb88792df71bbf49d (diff) | |
| download | rust-1c15b82b8a3c6fc36cf0f20bbf33a2e316be1e80.tar.gz rust-1c15b82b8a3c6fc36cf0f20bbf33a2e316be1e80.zip | |
Auto merge of #118857 - matthiaskrgr:rollup-t02kx2u, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #118445 (Let `reuse` look inside git submodules) - #118756 (use bold magenta instead of bold white for highlighting) - #118797 (End locals' live range before suspending coroutine) - #118840 (remove some redundant clones) - #118844 (Monomorphize args while building Instance body in StableMIR) - #118846 (Fix BinOp `ty()` assertion and `fn_sig()` for closures) - #118848 (Add myself back to review rotation) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/imports.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/imports.rs b/compiler/rustc_resolve/src/imports.rs index c2306e3ea7d..e601ceaa50c 100644 --- a/compiler/rustc_resolve/src/imports.rs +++ b/compiler/rustc_resolve/src/imports.rs @@ -1002,7 +1002,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> { UNUSED_IMPORTS, id, import.span, - msg.to_string(), + msg, BuiltinLintDiagnostics::RedundantImportVisibility { max_vis: max_vis.to_string(def_id, self.tcx), span: import.span, |
