Skip to content

Commit 317dc21

Browse files
committed
Register lint with internal lints.
1 parent 9efb83d commit 317dc21

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

compiler/rustc_lint/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@ fn register_internals(store: &mut LintStore) {
657657
"rustc::internal",
658658
None,
659659
vec![
660+
LintId::of(BROKEN_MIR),
660661
LintId::of(DEFAULT_HASH_TYPES),
661662
LintId::of(POTENTIAL_QUERY_INSTABILITY),
662663
LintId::of(UNTRACKED_QUERY_INFORMATION),

compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ declare_lint_pass! {
2727
BARE_TRAIT_OBJECTS,
2828
BINDINGS_WITH_VARIANT_NAME,
2929
BREAK_WITH_LABEL_AND_LOOP,
30-
BROKEN_MIR,
3130
COHERENCE_LEAK_CHECK,
3231
CONFLICTING_REPR_HINTS,
3332
CONST_EVALUATABLE_UNCHECKED,

0 commit comments

Comments
 (0)