fix UI tests
This commit is contained in:
parent
956b51f79a
commit
0b8c691f76
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue