@@ -32,15 +32,16 @@ use rustc_ast_pretty::pprust::{self, expr_to_string};
32
32
use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
33
33
use rustc_data_structures:: stack:: ensure_sufficient_stack;
34
34
use rustc_errors:: {
35
- fluent, Applicability , Diagnostic , DiagnosticMessage , DiagnosticStyledString , MultiSpan ,
35
+ fluent, Applicability , Diagnostic , DiagnosticMessage , DiagnosticStyledString ,
36
+ LintDiagnosticBuilder , MultiSpan ,
36
37
} ;
37
38
use rustc_feature:: { deprecated_attributes, AttributeGate , BuiltinAttribute , GateIssue , Stability } ;
38
39
use rustc_hir as hir;
39
40
use rustc_hir:: def:: { DefKind , Res } ;
40
41
use rustc_hir:: def_id:: { DefId , LocalDefId , LocalDefIdSet , CRATE_DEF_ID } ;
41
42
use rustc_hir:: { ForeignItemKind , GenericParamKind , HirId , PatKind , PredicateOrigin } ;
42
43
use rustc_index:: vec:: Idx ;
43
- use rustc_middle:: lint:: { in_external_macro, LintDiagnosticBuilder } ;
44
+ use rustc_middle:: lint:: in_external_macro;
44
45
use rustc_middle:: ty:: layout:: { LayoutError , LayoutOf } ;
45
46
use rustc_middle:: ty:: print:: with_no_trimmed_paths;
46
47
use rustc_middle:: ty:: subst:: GenericArgKind ;
0 commit comments