const-eval interning: accpt interior mutable pointers in final value (but keep rejecting mutable references)
This commit is contained in:
parent
304b7f801b
commit
f76f128dc9
21 changed files with 177 additions and 563 deletions
|
@ -576,6 +576,10 @@ fn register_builtins(store: &mut LintStore) {
|
|||
<https://github.com/rust-lang/rust/issues/107457> for more information",
|
||||
);
|
||||
store.register_removed("writes_through_immutable_pointer", "converted into hard error");
|
||||
store.register_removed(
|
||||
"const_eval_mutable_ptr_in_final_value",
|
||||
"partially allowed now, otherwise turned into a hard error",
|
||||
);
|
||||
}
|
||||
|
||||
fn register_internals(store: &mut LintStore) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue