Fixes to compile-fail error messages post-rebase.
This commit is contained in:
parent
1f5e45b769
commit
1973f7ebe5
4 changed files with 12 additions and 3 deletions
|
@ -22,6 +22,8 @@ use std::{u8, u16, u32, u64, usize};
|
|||
const A_I8_T
|
||||
: [u32; (i8::MAX as i8 + 1u8) as usize]
|
||||
//~^ ERROR mismatched types
|
||||
//~| the trait `core::ops::Add<u8>` is not implemented for the type `i8`
|
||||
//~| the trait `core::ops::Add<u8>` is not implemented for the type `i8`
|
||||
= [0; (i8::MAX as usize) + 1];
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue