ty: convert ErrorHandled::Reported
to ConstKind::Error
.
This commit is contained in:
parent
d7c4081b18
commit
77f38dc284
29 changed files with 54 additions and 295 deletions
|
@ -19,7 +19,6 @@ const A_I8_I
|
|||
: [u32; (i8::MAX as usize) + 1]
|
||||
= [0; (i8::MAX + 1) as usize];
|
||||
//~^ ERROR evaluation of constant value failed
|
||||
//~| ERROR mismatched types
|
||||
|
||||
fn main() {
|
||||
foo(&A_I8_I[..]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue