bless all the things
This commit is contained in:
parent
5fa443ddee
commit
f06a274880
3 changed files with 7 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
fn main() {
|
||||
let _ = [0; (&0 as *const i32) as usize]; //~ ERROR casting pointers to integers in constants
|
||||
//~^ ERROR it is undefined behavior to use this value
|
||||
//~^ ERROR evaluation of constant value failed
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue