3 pub const A: i8 = -i8::MIN; //~ ERROR const_err
4 //~| WARN this was previously accepted by the compiler but is being phased out
5 pub const B: u8 = 200u8 + 200u8; //~ ERROR const_err
6 //~| WARN this was previously accepted by the compiler but is being phased out
7 pub const C: u8 = 200u8 * 4; //~ ERROR const_err
8 //~| WARN this was previously accepted by the compiler but is being phased out
9 pub const D: u8 = 42u8 - (42u8 + 1); //~ ERROR const_err
10 //~| WARN this was previously accepted by the compiler but is being phased out
11 pub const E: u8 = [5u8][1]; //~ ERROR const_err
12 //~| WARN this was previously accepted by the compiler but is being phased out