about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Kofsky <aaronko@umich.edu>2022-08-04 17:31:08 -0400
committerAaron Kofsky <aaronko@umich.edu>2022-08-04 17:31:08 -0400
commitd355ec94ff0ef409bfa953f715987a98de13fd64 (patch)
tree8d455ca7457c0afc90b6134e417df91a6ab9c9eb
parenta9f1b7bd2a25e34de29eb88f81550690f4fec5dc (diff)
downloadrust-d355ec94ff0ef409bfa953f715987a98de13fd64.tar.gz
rust-d355ec94ff0ef409bfa953f715987a98de13fd64.zip
Fix imports.
I'm not really sure why this is nessecary to do, but the checks on the
PR do not seem to work if do not do this.
-rw-r--r--compiler/rustc_lint/src/let_underscore.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/let_underscore.rs b/compiler/rustc_lint/src/let_underscore.rs
index 79d1443dc35..7e885e6c51a 100644
--- a/compiler/rustc_lint/src/let_underscore.rs
+++ b/compiler/rustc_lint/src/let_underscore.rs
@@ -1,7 +1,7 @@
 use crate::{LateContext, LateLintPass, LintContext};
-use rustc_errors::{Applicability, MultiSpan};
+use rustc_errors::{Applicability, LintDiagnosticBuilder, MultiSpan};
 use rustc_hir as hir;
-use rustc_middle::{lint::LintDiagnosticBuilder, ty};
+use rustc_middle::ty;
 use rustc_span::Symbol;
 
 declare_lint! {