fix UI tests

This commit is contained in:
Ralf Jung 2018-08-17 21:25:59 +02:00
parent 956b51f79a
commit 0b8c691f76

View file

@ -22,7 +22,7 @@ error: this constant cannot be used
LL | const Z2: i32 = unsafe { *(42 as *const i32) }; //~ ERROR cannot be used
| ^^^^^^^^^^^^^^^^^^^^^^^^^-------------------^^^
| |
| tried to access memory with alignment 2, but alignment 4 is required
| a memory access tried to interpret some bytes as a pointer
error: this constant cannot be used
--> $DIR/const_raw_ptr_ops.rs:27:1