Skip to content

Commit 0cbefd5

Browse files
committed
Register lint with internal lints.
1 parent af5e7de commit 0cbefd5

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
@@ -543,6 +543,7 @@ fn register_internals(store: &mut LintStore) {
543543
"rustc::internal",
544544
None,
545545
vec![
546+
LintId::of(BROKEN_MIR),
546547
LintId::of(DEFAULT_HASH_TYPES),
547548
LintId::of(POTENTIAL_QUERY_INSTABILITY),
548549
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)