about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Cann <shum@canndrew.org>2018-03-14 12:04:29 +0800
committerAndrew Cann <shum@canndrew.org>2018-03-14 12:44:52 +0800
commit81ae93e3390aa686c09c5ae3a2e25274ad1fdab2 (patch)
treebc30d0a9d75a4e1df5b177946dd0dfe3d493e25b
parent00a52a2be36fd80e8430a524e8c0dad7b249af41 (diff)
downloadrust-81ae93e3390aa686c09c5ae3a2e25274ad1fdab2.tar.gz
rust-81ae93e3390aa686c09c5ae3a2e25274ad1fdab2.zip
register removed lints
-rw-r--r--src/librustc_lint/lib.rs4
1 files changed, 4 insertions, 0 deletions
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 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
         "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");
 }