Skip to content

Commit ea0e059

Browse files
Remove the lint outright
1 parent db6aa7f commit ea0e059

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

compiler/rustc_lint/src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,11 @@ fn register_builtins(store: &mut LintStore) {
509509
"converted into hard error, see PR #104616 \
510510
<https://github.com/rust-lang/rust/pull/104616> for more information",
511511
);
512+
store.register_removed(
513+
"implied_bounds_entailment",
514+
"converted into hard error, see PR #117984 \
515+
<https://github.com/rust-lang/rust/pull/117984> for more information",
516+
);
512517
}
513518

514519
fn register_internals(store: &mut LintStore) {

compiler/rustc_lint_defs/src/builtin.rs

-8
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ declare_lint_pass! {
4747
HIDDEN_GLOB_REEXPORTS,
4848
ILL_FORMED_ATTRIBUTE_INPUT,
4949
ILLEGAL_FLOATING_POINT_LITERAL_PATTERN,
50-
IMPLIED_BOUNDS_ENTAILMENT,
5150
INCOMPLETE_INCLUDE,
5251
INDIRECT_STRUCTURAL_MATCH,
5352
INEFFECTIVE_UNSTABLE_TRAIT_IMPL,
@@ -4235,13 +4234,6 @@ declare_lint! {
42354234
"named arguments in format used positionally"
42364235
}
42374236

4238-
declare_lint! {
4239-
/// This lint has been removed in favor of a hard error.
4240-
pub IMPLIED_BOUNDS_ENTAILMENT,
4241-
Deny,
4242-
"impl method assumes more implied bounds than its corresponding trait method",
4243-
}
4244-
42454237
declare_lint! {
42464238
/// The `byte_slice_in_packed_struct_with_derive` lint detects cases where a byte slice field
42474239
/// (`[u8]`) or string slice field (`str`) is used in a `packed` struct that derives one or

0 commit comments

Comments
 (0)