mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
drop-in-place-noalias test: needs -O to ensure attributes are added on nopt builders
This commit is contained in:
parent
340827af9b
commit
fb7f1d220c
@ -1,4 +1,4 @@
|
||||
// compile-flags: -C no-prepopulate-passes
|
||||
// compile-flags: -O -C no-prepopulate-passes
|
||||
|
||||
// Tests that the compiler can apply `noalias` and other &mut attributes to `drop_in_place`.
|
||||
// Note that non-Unpin types should not get `noalias`, matching &mut behavior.
|
||||
|
Loading…
Reference in New Issue
Block a user