Skip to content

Commit 1176c87

Browse files
committed
Register lint with internal lints.
1 parent bdefe34 commit 1176c87

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

compiler/rustc_lint/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ fn register_internals(store: &mut LintStore) {
544544
"rustc::internal",
545545
None,
546546
vec![
547+
LintId::of(BROKEN_MIR),
547548
LintId::of(DEFAULT_HASH_TYPES),
548549
LintId::of(POTENTIAL_QUERY_INSTABILITY),
549550
LintId::of(USAGE_OF_TY_TYKIND),

compiler/rustc_lint_defs/src/builtin.rs

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ declare_lint_pass! {
2323
BARE_TRAIT_OBJECTS,
2424
BINDINGS_WITH_VARIANT_NAME,
2525
BREAK_WITH_LABEL_AND_LOOP,
26-
BROKEN_MIR,
2726
BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE,
2827
CENUM_IMPL_DROP_CAST,
2928
COHERENCE_LEAK_CHECK,

0 commit comments

Comments
 (0)