1
Fork 0

remove some redundant clones

This commit is contained in:
Matthias Krüger 2023-12-11 21:54:36 +01:00
parent 57010939ed
commit 0564de10b1
4 changed files with 4 additions and 4 deletions

View file

@ -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,