Skip to content

Commit 3f93be6

Browse files
committed
Register lint with internal lints.
1 parent f310e6c commit 3f93be6

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
@@ -597,6 +597,7 @@ fn register_internals(store: &mut LintStore) {
597597
"rustc::internal",
598598
None,
599599
vec![
600+
LintId::of(BROKEN_MIR),
600601
LintId::of(DEFAULT_HASH_TYPES),
601602
LintId::of(POTENTIAL_QUERY_INSTABILITY),
602603
LintId::of(USAGE_OF_TY_TYKIND),

compiler/rustc_lint_defs/src/builtin.rs

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ declare_lint_pass! {
2626
BARE_TRAIT_OBJECTS,
2727
BINDINGS_WITH_VARIANT_NAME,
2828
BREAK_WITH_LABEL_AND_LOOP,
29-
BROKEN_MIR,
3029
BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE,
3130
CENUM_IMPL_DROP_CAST,
3231
COHERENCE_LEAK_CHECK,

0 commit comments

Comments
 (0)