diff options
| author | Alexander Regueiro <alexreg@me.com> | 2018-11-07 21:47:19 +0000 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2018-11-07 21:57:45 +0000 |
| commit | 90a14389d1823e4b8dc4ee2e306dd953e1992e08 (patch) | |
| tree | 6b2a436f6560826267e5c556ee29261f8afda926 | |
| parent | 7d9ee0314ac6755700ae8f51c9e00b2e5066250a (diff) | |
| download | rust-90a14389d1823e4b8dc4ee2e306dd953e1992e08.tar.gz rust-90a14389d1823e4b8dc4ee2e306dd953e1992e08.zip | |
Removed `DUPLICATE_ASSOCIATED_TYPE_BINDINGS` lint.
This has been replaced by the hard error E0719.
| -rw-r--r-- | src/librustc/lint/builtin.rs | 7 | ||||
| -rw-r--r-- | src/librustc_lint/lib.rs | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 266b1c4d4a0..01d87bdbf63 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -301,12 +301,6 @@ declare_lint! { } declare_lint! { - pub DUPLICATE_ASSOCIATED_TYPE_BINDINGS, - Warn, - "warns about duplicate associated type bindings in generics" -} - -declare_lint! { pub DUPLICATE_MACRO_EXPORTS, Deny, "detects duplicate macro exports" @@ -418,7 +412,6 @@ impl LintPass for HardwiredLints { ABSOLUTE_PATHS_NOT_STARTING_WITH_CRATE, UNSTABLE_NAME_COLLISIONS, IRREFUTABLE_LET_PATTERNS, - DUPLICATE_ASSOCIATED_TYPE_BINDINGS, DUPLICATE_MACRO_EXPORTS, INTRA_DOC_LINK_RESOLUTION_FAILURE, MISSING_DOC_CODE_EXAMPLES, diff --git a/src/librustc_lint/lib.rs b/src/librustc_lint/lib.rs index f289acc032b..8c0e9bd11a1 100644 --- a/src/librustc_lint/lib.rs +++ b/src/librustc_lint/lib.rs @@ -318,11 +318,6 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) { edition: None, }, FutureIncompatibleInfo { - id: LintId::of(DUPLICATE_ASSOCIATED_TYPE_BINDINGS), - reference: "issue #50589 <https://github.com/rust-lang/rust/issues/50589>", - edition: None, - }, - FutureIncompatibleInfo { id: LintId::of(PROC_MACRO_DERIVE_RESOLUTION_FALLBACK), reference: "issue #50504 <https://github.com/rust-lang/rust/issues/50504>", edition: None, |
