check mir exists before validation; fix tests
This commit is contained in:
parent
6781907444
commit
5029a19313
15 changed files with 25 additions and 90 deletions
|
@ -1,4 +1,3 @@
|
|||
fn main() {
|
||||
let _ = [0; (&0 as *const i32) as usize]; //~ ERROR casting pointers to integers in constants
|
||||
//~^ ERROR evaluation of constant value failed
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue