1
Fork 0

Rollup merge of #135964 - ehuss:cenum_impl_drop_cast, r=Nadrieril

Make cenum_impl_drop_cast a hard error

This changes the `cenum_impl_drop_cast` lint to be a hard error. This lint has been deny-by-default and warning in dependencies since https://github.com/rust-lang/rust/pull/97652 about 2.5 years ago.

Closes https://github.com/rust-lang/rust/issues/73333
This commit is contained in:
许杰友 Jieyou Xu (Joe) 2025-02-05 19:09:33 +08:00 committed by GitHub
commit def44600d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 12 additions and 181 deletions

View file

@ -595,6 +595,11 @@ fn register_builtins(store: &mut LintStore) {
<https://github.com/rust-lang/rust/pull/125380> for more information",
);
store.register_removed("unsupported_calling_conventions", "converted into hard error");
store.register_removed(
"cenum_impl_drop_cast",
"converted into hard error, \
see <https://github.com/rust-lang/rust/issues/73333> for more information",
);
}
fn register_internals(store: &mut LintStore) {