Skip to content

Commit 90a1438

Browse files
author
Alexander Regueiro
committed
Removed DUPLICATE_ASSOCIATED_TYPE_BINDINGS lint.
This has been replaced by the hard error E0719.
1 parent 7d9ee03 commit 90a1438

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/librustc/lint/builtin.rs

-7
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,6 @@ declare_lint! {
300300
"detects labels that are never used"
301301
}
302302

303-
declare_lint! {
304-
pub DUPLICATE_ASSOCIATED_TYPE_BINDINGS,
305-
Warn,
306-
"warns about duplicate associated type bindings in generics"
307-
}
308-
309303
declare_lint! {
310304
pub DUPLICATE_MACRO_EXPORTS,
311305
Deny,
@@ -418,7 +412,6 @@ impl LintPass for HardwiredLints {
418412
ABSOLUTE_PATHS_NOT_STARTING_WITH_CRATE,
419413
UNSTABLE_NAME_COLLISIONS,
420414
IRREFUTABLE_LET_PATTERNS,
421-
DUPLICATE_ASSOCIATED_TYPE_BINDINGS,
422415
DUPLICATE_MACRO_EXPORTS,
423416
INTRA_DOC_LINK_RESOLUTION_FAILURE,
424417
MISSING_DOC_CODE_EXAMPLES,

src/librustc_lint/lib.rs

-5
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,6 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
317317
reference: "issue #51443 <https://github.com/rust-lang/rust/issues/51443>",
318318
edition: None,
319319
},
320-
FutureIncompatibleInfo {
321-
id: LintId::of(DUPLICATE_ASSOCIATED_TYPE_BINDINGS),
322-
reference: "issue #50589 <https://github.com/rust-lang/rust/issues/50589>",
323-
edition: None,
324-
},
325320
FutureIncompatibleInfo {
326321
id: LintId::of(PROC_MACRO_DERIVE_RESOLUTION_FALLBACK),
327322
reference: "issue #50504 <https://github.com/rust-lang/rust/issues/50504>",

0 commit comments

Comments
 (0)