We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 173b856 commit 90dc6feCopy full SHA for 90dc6fe
compiler/rustc_infer/src/infer/error_reporting/suggest.rs
@@ -1,7 +1,7 @@
1
use hir::def::CtorKind;
2
use hir::intravisit::{walk_expr, walk_stmt, Visitor};
3
use rustc_data_structures::fx::FxIndexSet;
4
-use rustc_errors::Diagnostic;
+use rustc_errors::{Applicability, Diagnostic};
5
use rustc_hir as hir;
6
use rustc_middle::traits::{
7
IfExpressionCause, MatchExpressionArmCause, ObligationCause, ObligationCauseCode,
0 commit comments