|
1 | 1 | error: suffixed literals are not allowed in attributes
|
2 |
| - --> $DIR/suffixed-literal-meta.rs:3:13 |
| 2 | + --> $DIR/suffixed-literal-meta.rs:3:17 |
3 | 3 | |
|
4 |
| -LL | #[my_attr = 1usize] //~ ERROR: suffixed literals are not allowed in attributes |
5 |
| - | ^^^^^^ |
| 4 | +LL | #[macro_use(x = 1usize)] //~ ERROR: suffixed literals are not allowed in attributes |
| 5 | + | ^^^^^^ |
6 | 6 | |
|
7 | 7 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
8 | 8 |
|
9 | 9 | error: suffixed literals are not allowed in attributes
|
10 |
| - --> $DIR/suffixed-literal-meta.rs:4:13 |
| 10 | + --> $DIR/suffixed-literal-meta.rs:4:17 |
11 | 11 | |
|
12 |
| -LL | #[my_attr = 1u8] //~ ERROR: suffixed literals are not allowed in attributes |
13 |
| - | ^^^ |
| 12 | +LL | #[macro_use(x = 1u8)] //~ ERROR: suffixed literals are not allowed in attributes |
| 13 | + | ^^^ |
14 | 14 | |
|
15 | 15 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
16 | 16 |
|
17 | 17 | error: suffixed literals are not allowed in attributes
|
18 |
| - --> $DIR/suffixed-literal-meta.rs:5:13 |
| 18 | + --> $DIR/suffixed-literal-meta.rs:5:17 |
19 | 19 | |
|
20 |
| -LL | #[my_attr = 1u16] //~ ERROR: suffixed literals are not allowed in attributes |
21 |
| - | ^^^^ |
| 20 | +LL | #[macro_use(x = 1u16)] //~ ERROR: suffixed literals are not allowed in attributes |
| 21 | + | ^^^^ |
22 | 22 | |
|
23 | 23 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
24 | 24 |
|
25 | 25 | error: suffixed literals are not allowed in attributes
|
26 |
| - --> $DIR/suffixed-literal-meta.rs:6:13 |
| 26 | + --> $DIR/suffixed-literal-meta.rs:6:17 |
27 | 27 | |
|
28 |
| -LL | #[my_attr = 1u32] //~ ERROR: suffixed literals are not allowed in attributes |
29 |
| - | ^^^^ |
| 28 | +LL | #[macro_use(x = 1u32)] //~ ERROR: suffixed literals are not allowed in attributes |
| 29 | + | ^^^^ |
30 | 30 | |
|
31 | 31 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
32 | 32 |
|
33 | 33 | error: suffixed literals are not allowed in attributes
|
34 |
| - --> $DIR/suffixed-literal-meta.rs:7:13 |
| 34 | + --> $DIR/suffixed-literal-meta.rs:7:17 |
35 | 35 | |
|
36 |
| -LL | #[my_attr = 1u64] //~ ERROR: suffixed literals are not allowed in attributes |
37 |
| - | ^^^^ |
| 36 | +LL | #[macro_use(x = 1u64)] //~ ERROR: suffixed literals are not allowed in attributes |
| 37 | + | ^^^^ |
38 | 38 | |
|
39 | 39 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
40 | 40 |
|
41 | 41 | error: suffixed literals are not allowed in attributes
|
42 |
| - --> $DIR/suffixed-literal-meta.rs:8:13 |
| 42 | + --> $DIR/suffixed-literal-meta.rs:8:17 |
43 | 43 | |
|
44 |
| -LL | #[my_attr = 1isize] //~ ERROR: suffixed literals are not allowed in attributes |
45 |
| - | ^^^^^^ |
| 44 | +LL | #[macro_use(x = 1isize)] //~ ERROR: suffixed literals are not allowed in attributes |
| 45 | + | ^^^^^^ |
46 | 46 | |
|
47 | 47 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
48 | 48 |
|
49 | 49 | error: suffixed literals are not allowed in attributes
|
50 |
| - --> $DIR/suffixed-literal-meta.rs:9:13 |
| 50 | + --> $DIR/suffixed-literal-meta.rs:9:17 |
51 | 51 | |
|
52 |
| -LL | #[my_attr = 1i8] //~ ERROR: suffixed literals are not allowed in attributes |
53 |
| - | ^^^ |
| 52 | +LL | #[macro_use(x = 1i8)] //~ ERROR: suffixed literals are not allowed in attributes |
| 53 | + | ^^^ |
54 | 54 | |
|
55 | 55 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
56 | 56 |
|
57 | 57 | error: suffixed literals are not allowed in attributes
|
58 |
| - --> $DIR/suffixed-literal-meta.rs:10:13 |
| 58 | + --> $DIR/suffixed-literal-meta.rs:10:17 |
59 | 59 | |
|
60 |
| -LL | #[my_attr = 1i16] //~ ERROR: suffixed literals are not allowed in attributes |
61 |
| - | ^^^^ |
| 60 | +LL | #[macro_use(x = 1i16)] //~ ERROR: suffixed literals are not allowed in attributes |
| 61 | + | ^^^^ |
62 | 62 | |
|
63 | 63 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
64 | 64 |
|
65 | 65 | error: suffixed literals are not allowed in attributes
|
66 |
| - --> $DIR/suffixed-literal-meta.rs:11:13 |
| 66 | + --> $DIR/suffixed-literal-meta.rs:11:17 |
67 | 67 | |
|
68 |
| -LL | #[my_attr = 1i32] //~ ERROR: suffixed literals are not allowed in attributes |
69 |
| - | ^^^^ |
| 68 | +LL | #[macro_use(x = 1i32)] //~ ERROR: suffixed literals are not allowed in attributes |
| 69 | + | ^^^^ |
70 | 70 | |
|
71 | 71 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
72 | 72 |
|
73 | 73 | error: suffixed literals are not allowed in attributes
|
74 |
| - --> $DIR/suffixed-literal-meta.rs:12:13 |
| 74 | + --> $DIR/suffixed-literal-meta.rs:12:17 |
75 | 75 | |
|
76 |
| -LL | #[my_attr = 1i64] //~ ERROR: suffixed literals are not allowed in attributes |
77 |
| - | ^^^^ |
| 76 | +LL | #[macro_use(x = 1i64)] //~ ERROR: suffixed literals are not allowed in attributes |
| 77 | + | ^^^^ |
78 | 78 | |
|
79 | 79 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
80 | 80 |
|
81 | 81 | error: suffixed literals are not allowed in attributes
|
82 |
| - --> $DIR/suffixed-literal-meta.rs:13:13 |
| 82 | + --> $DIR/suffixed-literal-meta.rs:13:17 |
83 | 83 | |
|
84 |
| -LL | #[my_attr = 1.0f32] //~ ERROR: suffixed literals are not allowed in attributes |
85 |
| - | ^^^^^^ |
| 84 | +LL | #[macro_use(x = 1.0f32)] //~ ERROR: suffixed literals are not allowed in attributes |
| 85 | + | ^^^^^^ |
86 | 86 | |
|
87 | 87 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
88 | 88 |
|
89 | 89 | error: suffixed literals are not allowed in attributes
|
90 |
| - --> $DIR/suffixed-literal-meta.rs:14:13 |
| 90 | + --> $DIR/suffixed-literal-meta.rs:14:17 |
91 | 91 | |
|
92 |
| -LL | #[my_attr = 1.0f64] //~ ERROR: suffixed literals are not allowed in attributes |
93 |
| - | ^^^^^^ |
| 92 | +LL | #[macro_use(x = 1.0f64)] //~ ERROR: suffixed literals are not allowed in attributes |
| 93 | + | ^^^^^^ |
94 | 94 | |
|
95 | 95 | = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
|
96 | 96 |
|
|
0 commit comments