make unaligned_refereces future-incompat lint warn-by-default, and remove the safe_packed_borrows lint that it replaces
This commit is contained in:
parent
f811f14006
commit
fb4f48e032
25 changed files with 251 additions and 415 deletions
|
@ -325,6 +325,7 @@ fn register_builtins(store: &mut LintStore, no_interleave_lints: bool) {
|
|||
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");
|
||||
|
||||
// These were moved to tool lints, but rustc still sees them when compiling normally, before
|
||||
// tool lints are registered, so `check_tool_name_for_backwards_compat` doesn't work. Use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue