1 #![feature(rustc_attrs)]
3 #[rustc_dummy = 1usize] //~ ERROR: suffixed literals are not allowed in attributes
4 //~| ERROR: suffixed literals are not allowed in attributes
5 #[rustc_dummy = 1u8] //~ ERROR: suffixed literals are not allowed in attributes
6 //~| ERROR: suffixed literals are not allowed in attributes
7 #[rustc_dummy = 1u16] //~ ERROR: suffixed literals are not allowed in attributes
8 //~| ERROR: suffixed literals are not allowed in attributes
9 #[rustc_dummy = 1u32] //~ ERROR: suffixed literals are not allowed in attributes
10 //~| ERROR: suffixed literals are not allowed in attributes
11 #[rustc_dummy = 1u64] //~ ERROR: suffixed literals are not allowed in attributes
12 //~| ERROR: suffixed literals are not allowed in attributes
13 #[rustc_dummy = 1isize] //~ ERROR: suffixed literals are not allowed in attributes
14 //~| ERROR: suffixed literals are not allowed in attributes
15 #[rustc_dummy = 1i8] //~ ERROR: suffixed literals are not allowed in attributes
16 //~| ERROR: suffixed literals are not allowed in attributes
17 #[rustc_dummy = 1i16] //~ ERROR: suffixed literals are not allowed in attributes
18 //~| ERROR: suffixed literals are not allowed in attributes
19 #[rustc_dummy = 1i32] //~ ERROR: suffixed literals are not allowed in attributes
20 //~| ERROR: suffixed literals are not allowed in attributes
21 #[rustc_dummy = 1i64] //~ ERROR: suffixed literals are not allowed in attributes
22 //~| ERROR: suffixed literals are not allowed in attributes
23 #[rustc_dummy = 1.0f32] //~ ERROR: suffixed literals are not allowed in attributes
24 //~| ERROR: suffixed literals are not allowed in attributes
25 #[rustc_dummy = 1.0f64] //~ ERROR: suffixed literals are not allowed in attributes
26 //~| ERROR: suffixed literals are not allowed in attributes