]> git.lizzy.rs Git - rust.git/commitdiff
register removed lints
authorAndrew Cann <shum@canndrew.org>
Wed, 14 Mar 2018 04:04:29 +0000 (12:04 +0800)
committerAndrew Cann <shum@canndrew.org>
Wed, 14 Mar 2018 04:44:52 +0000 (12:44 +0800)
src/librustc_lint/lib.rs

index 010678ecfb5d6aa53305a9546a9efb91c0991cd6..8b86c90548952b50b4de890f7aeea7bbb1e16df0 100644 (file)
@@ -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");
 }