make unaligned_reference a hard error
This commit is contained in:
parent
f361413cbf
commit
dfc4a7b2d0
27 changed files with 170 additions and 686 deletions
|
@ -324,7 +324,6 @@ fn register_builtins(store: &mut LintStore) {
|
|||
store.register_renamed("exceeding_bitshifts", "arithmetic_overflow");
|
||||
store.register_renamed("redundant_semicolon", "redundant_semicolons");
|
||||
store.register_renamed("overlapping_patterns", "overlapping_range_endpoints");
|
||||
store.register_renamed("safe_packed_borrows", "unaligned_references");
|
||||
store.register_renamed("disjoint_capture_migration", "rust_2021_incompatible_closure_captures");
|
||||
store.register_renamed("or_patterns_back_compat", "rust_2021_incompatible_or_patterns");
|
||||
store.register_renamed("non_fmt_panic", "non_fmt_panics");
|
||||
|
@ -487,6 +486,16 @@ fn register_builtins(store: &mut LintStore) {
|
|||
"converted into hard error, see issue #71800 \
|
||||
<https://github.com/rust-lang/rust/issues/71800> for more information",
|
||||
);
|
||||
store.register_removed(
|
||||
"safe_packed_borrows",
|
||||
"converted into hard error, see issue #82523 \
|
||||
<https://github.com/rust-lang/rust/issues/82523> for more information",
|
||||
);
|
||||
store.register_removed(
|
||||
"unaligned_references",
|
||||
"converted into hard error, see issue #82523 \
|
||||
<https://github.com/rust-lang/rust/issues/82523> for more information",
|
||||
);
|
||||
}
|
||||
|
||||
fn register_internals(store: &mut LintStore) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue