1
Fork 0

ty: convert ErrorHandled::Reported to ConstKind::Error.

This commit is contained in:
Eduard-Mihai Burtescu 2020-04-12 07:16:38 +03:00
parent d7c4081b18
commit 77f38dc284
29 changed files with 54 additions and 295 deletions

View file

@ -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[..]);