]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suffixed-literal-meta.stderr
Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obk
[rust.git] / src / test / ui / suffixed-literal-meta.stderr
1 error: suffixed literals are not allowed in attributes
2   --> $DIR/suffixed-literal-meta.rs:3:17
3    |
4 LL | #[rustc_dummy = 1usize]
5    |                 ^^^^^^
6    |
7    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
8
9 error: suffixed literals are not allowed in attributes
10   --> $DIR/suffixed-literal-meta.rs:5:17
11    |
12 LL | #[rustc_dummy = 1u8]
13    |                 ^^^
14    |
15    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
16
17 error: suffixed literals are not allowed in attributes
18   --> $DIR/suffixed-literal-meta.rs:7:17
19    |
20 LL | #[rustc_dummy = 1u16]
21    |                 ^^^^
22    |
23    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
24
25 error: suffixed literals are not allowed in attributes
26   --> $DIR/suffixed-literal-meta.rs:9:17
27    |
28 LL | #[rustc_dummy = 1u32]
29    |                 ^^^^
30    |
31    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
32
33 error: suffixed literals are not allowed in attributes
34   --> $DIR/suffixed-literal-meta.rs:11:17
35    |
36 LL | #[rustc_dummy = 1u64]
37    |                 ^^^^
38    |
39    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
40
41 error: suffixed literals are not allowed in attributes
42   --> $DIR/suffixed-literal-meta.rs:13:17
43    |
44 LL | #[rustc_dummy = 1isize]
45    |                 ^^^^^^
46    |
47    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
48
49 error: suffixed literals are not allowed in attributes
50   --> $DIR/suffixed-literal-meta.rs:15:17
51    |
52 LL | #[rustc_dummy = 1i8]
53    |                 ^^^
54    |
55    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
56
57 error: suffixed literals are not allowed in attributes
58   --> $DIR/suffixed-literal-meta.rs:17:17
59    |
60 LL | #[rustc_dummy = 1i16]
61    |                 ^^^^
62    |
63    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
64
65 error: suffixed literals are not allowed in attributes
66   --> $DIR/suffixed-literal-meta.rs:19:17
67    |
68 LL | #[rustc_dummy = 1i32]
69    |                 ^^^^
70    |
71    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
72
73 error: suffixed literals are not allowed in attributes
74   --> $DIR/suffixed-literal-meta.rs:21:17
75    |
76 LL | #[rustc_dummy = 1i64]
77    |                 ^^^^
78    |
79    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
80
81 error: suffixed literals are not allowed in attributes
82   --> $DIR/suffixed-literal-meta.rs:23:17
83    |
84 LL | #[rustc_dummy = 1.0f32]
85    |                 ^^^^^^
86    |
87    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
88
89 error: suffixed literals are not allowed in attributes
90   --> $DIR/suffixed-literal-meta.rs:25:17
91    |
92 LL | #[rustc_dummy = 1.0f64]
93    |                 ^^^^^^
94    |
95    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
96
97 error: suffixed literals are not allowed in attributes
98   --> $DIR/suffixed-literal-meta.rs:3:17
99    |
100 LL | #[rustc_dummy = 1usize]
101    |                 ^^^^^^
102    |
103    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
104
105 error: suffixed literals are not allowed in attributes
106   --> $DIR/suffixed-literal-meta.rs:5:17
107    |
108 LL | #[rustc_dummy = 1u8]
109    |                 ^^^
110    |
111    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
112
113 error: suffixed literals are not allowed in attributes
114   --> $DIR/suffixed-literal-meta.rs:7:17
115    |
116 LL | #[rustc_dummy = 1u16]
117    |                 ^^^^
118    |
119    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
120
121 error: suffixed literals are not allowed in attributes
122   --> $DIR/suffixed-literal-meta.rs:9:17
123    |
124 LL | #[rustc_dummy = 1u32]
125    |                 ^^^^
126    |
127    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
128
129 error: suffixed literals are not allowed in attributes
130   --> $DIR/suffixed-literal-meta.rs:11:17
131    |
132 LL | #[rustc_dummy = 1u64]
133    |                 ^^^^
134    |
135    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
136
137 error: suffixed literals are not allowed in attributes
138   --> $DIR/suffixed-literal-meta.rs:13:17
139    |
140 LL | #[rustc_dummy = 1isize]
141    |                 ^^^^^^
142    |
143    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
144
145 error: suffixed literals are not allowed in attributes
146   --> $DIR/suffixed-literal-meta.rs:15:17
147    |
148 LL | #[rustc_dummy = 1i8]
149    |                 ^^^
150    |
151    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
152
153 error: suffixed literals are not allowed in attributes
154   --> $DIR/suffixed-literal-meta.rs:17:17
155    |
156 LL | #[rustc_dummy = 1i16]
157    |                 ^^^^
158    |
159    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
160
161 error: suffixed literals are not allowed in attributes
162   --> $DIR/suffixed-literal-meta.rs:19:17
163    |
164 LL | #[rustc_dummy = 1i32]
165    |                 ^^^^
166    |
167    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
168
169 error: suffixed literals are not allowed in attributes
170   --> $DIR/suffixed-literal-meta.rs:21:17
171    |
172 LL | #[rustc_dummy = 1i64]
173    |                 ^^^^
174    |
175    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
176
177 error: suffixed literals are not allowed in attributes
178   --> $DIR/suffixed-literal-meta.rs:23:17
179    |
180 LL | #[rustc_dummy = 1.0f32]
181    |                 ^^^^^^
182    |
183    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
184
185 error: suffixed literals are not allowed in attributes
186   --> $DIR/suffixed-literal-meta.rs:25:17
187    |
188 LL | #[rustc_dummy = 1.0f64]
189    |                 ^^^^^^
190    |
191    = help: instead of using a suffixed literal (1u8, 1.0f32, etc.), use an unsuffixed version (1, 1.0, etc.).
192
193 error: aborting due to 24 previous errors
194