1
Fork 0

Fixes to compile-fail error messages post-rebase.

This commit is contained in:
Felix S. Klock II 2015-04-01 00:15:09 +02:00
parent 1f5e45b769
commit 1973f7ebe5
4 changed files with 12 additions and 3 deletions

View file

@ -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() {