From 81ae93e3390aa686c09c5ae3a2e25274ad1fdab2 Mon Sep 17 00:00:00 2001 From: Andrew Cann Date: Wed, 14 Mar 2018 12:04:29 +0800 Subject: [PATCH] register removed lints --- src/librustc_lint/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/librustc_lint/lib.rs b/src/librustc_lint/lib.rs index 010678ecfb5..8b86c905489 100644 --- a/src/librustc_lint/lib.rs +++ b/src/librustc_lint/lib.rs @@ -306,4 +306,8 @@ macro_rules! add_lint_group { "converted into hard error, see https://github.com/rust-lang/rust/issues/36892"); store.register_removed("extra_requirement_in_impl", "converted into hard error, see https://github.com/rust-lang/rust/issues/37166"); + store.register_removed("coerce_never", + "converted into hard error, see https://github.com/rust-lang/rust/issues/48950"); + store.register_removed("resolve_trait_on_defaulted_unit", + "converted into hard error, see https://github.com/rust-lang/rust/issues/48950"); } -- 2.44.0