Skip to content

Commit 5b088a4

Browse files
Remove the lint outright
1 parent 7688885 commit 5b088a4

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
@@ -510,6 +510,11 @@ fn register_builtins(store: &mut LintStore) {
510510
"converted into hard error, see PR #104616 \
511511
<https://github.com/rust-lang/rust/pull/104616> for more information",
512512
);
513+
store.register_removed(
514+
"implied_bounds_entailment",
515+
"converted into hard error, see PR #117984 \
516+
<https://github.com/rust-lang/rust/pull/117984> for more information",
517+
);
513518
}
514519

515520
fn register_internals(store: &mut LintStore) {

compiler/rustc_lint_defs/src/builtin.rs

-8
Original file line numberDiff line numberDiff line change
@@ -3387,7 +3387,6 @@ declare_lint_pass! {
33873387
HIDDEN_GLOB_REEXPORTS,
33883388
ILL_FORMED_ATTRIBUTE_INPUT,
33893389
ILLEGAL_FLOATING_POINT_LITERAL_PATTERN,
3390-
IMPLIED_BOUNDS_ENTAILMENT,
33913390
INCOMPLETE_INCLUDE,
33923391
INDIRECT_STRUCTURAL_MATCH,
33933392
INEFFECTIVE_UNSTABLE_TRAIT_IMPL,
@@ -4233,13 +4232,6 @@ declare_lint! {
42334232
"named arguments in format used positionally"
42344233
}
42354234

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

0 commit comments

Comments
 (0)