Skip to content

Commit 81ae93e

Browse files
committed
register removed lints
1 parent 00a52a2 commit 81ae93e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustc_lint/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,4 +306,8 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
306306
"converted into hard error, see https://github.com/rust-lang/rust/issues/36892");
307307
store.register_removed("extra_requirement_in_impl",
308308
"converted into hard error, see https://github.com/rust-lang/rust/issues/37166");
309+
store.register_removed("coerce_never",
310+
"converted into hard error, see https://github.com/rust-lang/rust/issues/48950");
311+
store.register_removed("resolve_trait_on_defaulted_unit",
312+
"converted into hard error, see https://github.com/rust-lang/rust/issues/48950");
309313
}

0 commit comments

Comments
 (0)