From d355ec94ff0ef409bfa953f715987a98de13fd64 Mon Sep 17 00:00:00 2001 From: Aaron Kofsky Date: Thu, 4 Aug 2022 17:31:08 -0400 Subject: [PATCH] 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. --- compiler/rustc_lint/src/let_underscore.rs | 4 ++-- 1 file 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! {