Skip to content

Commit fb7f1d2

Browse files
drop-in-place-noalias test: needs -O to ensure attributes are added on nopt builders
1 parent 340827a commit fb7f1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/codegen/drop-in-place-noalias.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -C no-prepopulate-passes
1+
// compile-flags: -O -C no-prepopulate-passes
22

33
// Tests that the compiler can apply `noalias` and other &mut attributes to `drop_in_place`.
44
// Note that non-Unpin types should not get `noalias`, matching &mut behavior.

0 commit comments

Comments
 (0)