const-eval: make misalignment a hard error
This commit is contained in:
parent
8bf0dec101
commit
a993a8bf3f
10 changed files with 42 additions and 193 deletions
|
@ -505,6 +505,11 @@ fn register_builtins(store: &mut LintStore) {
|
|||
"replaced with another group of lints, see RFC \
|
||||
<https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information",
|
||||
);
|
||||
store.register_removed(
|
||||
"invalid_alignment",
|
||||
"converted into hard error, see PR #104616 \
|
||||
<https://github.com/rust-lang/rust/pull/104616> for more information",
|
||||
);
|
||||
}
|
||||
|
||||
fn register_internals(store: &mut LintStore) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue