Skip to content

Commit

Permalink
Register lint with internal lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Jan 1, 2024
1 parent af5e7de commit 0cbefd5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions compiler/rustc_lint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ fn register_internals(store: &mut LintStore) {
"rustc::internal",
None,
vec![
LintId::of(BROKEN_MIR),
LintId::of(DEFAULT_HASH_TYPES),
LintId::of(POTENTIAL_QUERY_INSTABILITY),
LintId::of(USAGE_OF_TY_TYKIND),
Expand Down
1 change: 0 additions & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ declare_lint_pass! {
BARE_TRAIT_OBJECTS,
BINDINGS_WITH_VARIANT_NAME,
BREAK_WITH_LABEL_AND_LOOP,
BROKEN_MIR,
BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE,
CENUM_IMPL_DROP_CAST,
COHERENCE_LEAK_CHECK,
Expand Down

0 comments on commit 0cbefd5

Please sign in to comment.