@@ -6,6 +6,7 @@ LL | asm!("bar: nop");
6
6
|
7
7
= note: `#[deny(named_asm_labels)]` on by default
8
8
= help: only local labels of the form `<number>:` should be used in inline asm
9
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
9
10
10
11
error: avoid using named labels in inline assembly
11
12
--> $DIR/named-asm-labels.rs:27:15
@@ -14,6 +15,7 @@ LL | asm!("abcd:");
14
15
| ^^^^
15
16
|
16
17
= help: only local labels of the form `<number>:` should be used in inline asm
18
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
17
19
18
20
error: avoid using named labels in inline assembly
19
21
--> $DIR/named-asm-labels.rs:30:15
@@ -22,6 +24,7 @@ LL | asm!("foo: bar1: nop");
22
24
| ^^^ ^^^^
23
25
|
24
26
= help: only local labels of the form `<number>:` should be used in inline asm
27
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
25
28
26
29
error: avoid using named labels in inline assembly
27
30
--> $DIR/named-asm-labels.rs:34:15
@@ -30,6 +33,7 @@ LL | asm!("foo1: nop", "nop");
30
33
| ^^^^
31
34
|
32
35
= help: only local labels of the form `<number>:` should be used in inline asm
36
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
33
37
34
38
error: avoid using named labels in inline assembly
35
39
--> $DIR/named-asm-labels.rs:35:15
@@ -38,6 +42,7 @@ LL | asm!("foo2: foo3: nop", "nop");
38
42
| ^^^^ ^^^^
39
43
|
40
44
= help: only local labels of the form `<number>:` should be used in inline asm
45
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
41
46
42
47
error: avoid using named labels in inline assembly
43
48
--> $DIR/named-asm-labels.rs:37:22
@@ -46,6 +51,7 @@ LL | asm!("nop", "foo4: nop");
46
51
| ^^^^
47
52
|
48
53
= help: only local labels of the form `<number>:` should be used in inline asm
54
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
49
55
50
56
error: avoid using named labels in inline assembly
51
57
--> $DIR/named-asm-labels.rs:38:15
@@ -54,6 +60,7 @@ LL | asm!("foo5: nop", "foo6: nop");
54
60
| ^^^^
55
61
|
56
62
= help: only local labels of the form `<number>:` should be used in inline asm
63
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
57
64
58
65
error: avoid using named labels in inline assembly
59
66
--> $DIR/named-asm-labels.rs:38:28
@@ -62,6 +69,7 @@ LL | asm!("foo5: nop", "foo6: nop");
62
69
| ^^^^
63
70
|
64
71
= help: only local labels of the form `<number>:` should be used in inline asm
72
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
65
73
66
74
error: avoid using named labels in inline assembly
67
75
--> $DIR/named-asm-labels.rs:43:15
@@ -70,6 +78,7 @@ LL | asm!("foo7: nop; foo8: nop");
70
78
| ^^^^ ^^^^
71
79
|
72
80
= help: only local labels of the form `<number>:` should be used in inline asm
81
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
73
82
74
83
error: avoid using named labels in inline assembly
75
84
--> $DIR/named-asm-labels.rs:45:15
@@ -78,6 +87,7 @@ LL | asm!("foo9: nop; nop");
78
87
| ^^^^
79
88
|
80
89
= help: only local labels of the form `<number>:` should be used in inline asm
90
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
81
91
82
92
error: avoid using named labels in inline assembly
83
93
--> $DIR/named-asm-labels.rs:46:20
@@ -86,6 +96,7 @@ LL | asm!("nop; foo10: nop");
86
96
| ^^^^^
87
97
|
88
98
= help: only local labels of the form `<number>:` should be used in inline asm
99
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
89
100
90
101
error: avoid using named labels in inline assembly
91
102
--> $DIR/named-asm-labels.rs:49:15
@@ -94,6 +105,7 @@ LL | asm!("bar2: nop\n bar3: nop");
94
105
| ^^^^ ^^^^
95
106
|
96
107
= help: only local labels of the form `<number>:` should be used in inline asm
108
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
97
109
98
110
error: avoid using named labels in inline assembly
99
111
--> $DIR/named-asm-labels.rs:51:15
@@ -102,6 +114,7 @@ LL | asm!("bar4: nop\n nop");
102
114
| ^^^^
103
115
|
104
116
= help: only local labels of the form `<number>:` should be used in inline asm
117
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
105
118
106
119
error: avoid using named labels in inline assembly
107
120
--> $DIR/named-asm-labels.rs:52:21
@@ -110,6 +123,7 @@ LL | asm!("nop\n bar5: nop");
110
123
| ^^^^
111
124
|
112
125
= help: only local labels of the form `<number>:` should be used in inline asm
126
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
113
127
114
128
error: avoid using named labels in inline assembly
115
129
--> $DIR/named-asm-labels.rs:53:21
@@ -118,6 +132,7 @@ LL | asm!("nop\n bar6: bar7: nop");
118
132
| ^^^^ ^^^^
119
133
|
120
134
= help: only local labels of the form `<number>:` should be used in inline asm
135
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
121
136
122
137
error: avoid using named labels in inline assembly
123
138
--> $DIR/named-asm-labels.rs:59:13
@@ -128,6 +143,7 @@ LL | blah3: nop
128
143
| ^^^^^
129
144
|
130
145
= help: only local labels of the form `<number>:` should be used in inline asm
146
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
131
147
132
148
error: avoid using named labels in inline assembly
133
149
--> $DIR/named-asm-labels.rs:68:19
@@ -136,6 +152,7 @@ LL | nop ; blah4: nop
136
152
| ^^^^^
137
153
|
138
154
= help: only local labels of the form `<number>:` should be used in inline asm
155
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
139
156
140
157
error: avoid using named labels in inline assembly
141
158
--> $DIR/named-asm-labels.rs:82:15
@@ -144,6 +161,7 @@ LL | asm!("blah1: 2bar: nop");
144
161
| ^^^^^
145
162
|
146
163
= help: only local labels of the form `<number>:` should be used in inline asm
164
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
147
165
148
166
error: avoid using named labels in inline assembly
149
167
--> $DIR/named-asm-labels.rs:85:15
@@ -152,6 +170,7 @@ LL | asm!("def: def: nop");
152
170
| ^^^
153
171
|
154
172
= help: only local labels of the form `<number>:` should be used in inline asm
173
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
155
174
156
175
error: avoid using named labels in inline assembly
157
176
--> $DIR/named-asm-labels.rs:86:15
@@ -160,6 +179,7 @@ LL | asm!("def: nop\ndef: nop");
160
179
| ^^^
161
180
|
162
181
= help: only local labels of the form `<number>:` should be used in inline asm
182
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
163
183
164
184
error: avoid using named labels in inline assembly
165
185
--> $DIR/named-asm-labels.rs:87:15
@@ -168,6 +188,7 @@ LL | asm!("def: nop; def: nop");
168
188
| ^^^
169
189
|
170
190
= help: only local labels of the form `<number>:` should be used in inline asm
191
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
171
192
172
193
error: avoid using named labels in inline assembly
173
194
--> $DIR/named-asm-labels.rs:95:15
@@ -176,6 +197,7 @@ LL | asm!("fooo\u{003A} nop");
176
197
| ^^^^^^^^^^^^^^^^
177
198
|
178
199
= help: only local labels of the form `<number>:` should be used in inline asm
200
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
179
201
180
202
error: avoid using named labels in inline assembly
181
203
--> $DIR/named-asm-labels.rs:96:15
@@ -184,6 +206,7 @@ LL | asm!("foooo\x3A nop");
184
206
| ^^^^^^^^^^^^^
185
207
|
186
208
= help: only local labels of the form `<number>:` should be used in inline asm
209
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
187
210
188
211
error: avoid using named labels in inline assembly
189
212
--> $DIR/named-asm-labels.rs:99:15
@@ -192,6 +215,7 @@ LL | asm!("fooooo:\u{000A} nop");
192
215
| ^^^^^^
193
216
|
194
217
= help: only local labels of the form `<number>:` should be used in inline asm
218
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
195
219
196
220
error: avoid using named labels in inline assembly
197
221
--> $DIR/named-asm-labels.rs:100:15
@@ -200,6 +224,7 @@ LL | asm!("foooooo:\x0A nop");
200
224
| ^^^^^^^
201
225
|
202
226
= help: only local labels of the form `<number>:` should be used in inline asm
227
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
203
228
204
229
error: avoid using named labels in inline assembly
205
230
--> $DIR/named-asm-labels.rs:104:14
@@ -208,6 +233,7 @@ LL | asm!("\x41\x42\x43\x3A\x20\x6E\x6F\x70");
208
233
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
209
234
|
210
235
= help: only local labels of the form `<number>:` should be used in inline asm
236
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
211
237
212
238
error: avoid using named labels in inline assembly
213
239
--> $DIR/named-asm-labels.rs:112:13
@@ -216,6 +242,7 @@ LL | ab: nop // ab: does foo
216
242
| ^^
217
243
|
218
244
= help: only local labels of the form `<number>:` should be used in inline asm
245
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
219
246
220
247
error: avoid using named labels in inline assembly
221
248
--> $DIR/named-asm-labels.rs:124:14
@@ -224,6 +251,7 @@ LL | asm!(include_str!("named-asm-labels.s"));
224
251
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
225
252
|
226
253
= help: only local labels of the form `<number>:` should be used in inline asm
254
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
227
255
228
256
warning: avoid using named labels in inline assembly
229
257
--> $DIR/named-asm-labels.rs:134:19
@@ -237,6 +265,7 @@ note: the lint level is defined here
237
265
LL | #[warn(named_asm_labels)]
238
266
| ^^^^^^^^^^^^^^^^
239
267
= help: only local labels of the form `<number>:` should be used in inline asm
268
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
240
269
241
270
error: avoid using named labels in inline assembly
242
271
--> $DIR/named-asm-labels.rs:143:20
@@ -245,6 +274,7 @@ LL | unsafe { asm!(".Lfoo: mov rax, {}; ret;", "nop", const 1, options(noret
245
274
| ^^^^^
246
275
|
247
276
= help: only local labels of the form `<number>:` should be used in inline asm
277
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
248
278
249
279
error: avoid using named labels in inline assembly
250
280
--> $DIR/named-asm-labels.rs:149:20
@@ -253,6 +283,7 @@ LL | unsafe { asm!(".Lbar: mov rax, {}; ret;", "nop", const 1, options(noret
253
283
| ^^^^^
254
284
|
255
285
= help: only local labels of the form `<number>:` should be used in inline asm
286
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
256
287
257
288
error: avoid using named labels in inline assembly
258
289
--> $DIR/named-asm-labels.rs:157:20
@@ -261,6 +292,7 @@ LL | unsafe { asm!(".Laaa: nop; ret;", options(noreturn)) }
261
292
| ^^^^^
262
293
|
263
294
= help: only local labels of the form `<number>:` should be used in inline asm
295
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
264
296
265
297
error: avoid using named labels in inline assembly
266
298
--> $DIR/named-asm-labels.rs:167:24
@@ -269,6 +301,7 @@ LL | unsafe { asm!(".Lbbb: nop; ret;", options(noreturn)) }
269
301
| ^^^^^
270
302
|
271
303
= help: only local labels of the form `<number>:` should be used in inline asm
304
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
272
305
273
306
error: avoid using named labels in inline assembly
274
307
--> $DIR/named-asm-labels.rs:176:15
@@ -277,6 +310,7 @@ LL | asm!("closure1: nop");
277
310
| ^^^^^^^^
278
311
|
279
312
= help: only local labels of the form `<number>:` should be used in inline asm
313
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
280
314
281
315
error: avoid using named labels in inline assembly
282
316
--> $DIR/named-asm-labels.rs:180:15
@@ -285,6 +319,7 @@ LL | asm!("closure2: nop");
285
319
| ^^^^^^^^
286
320
|
287
321
= help: only local labels of the form `<number>:` should be used in inline asm
322
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
288
323
289
324
error: avoid using named labels in inline assembly
290
325
--> $DIR/named-asm-labels.rs:190:19
@@ -293,6 +328,7 @@ LL | asm!("closure3: nop");
293
328
| ^^^^^^^^
294
329
|
295
330
= help: only local labels of the form `<number>:` should be used in inline asm
331
+ = note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html#labels> for more information
296
332
297
333
error: aborting due to 35 previous errors; 1 warning emitted
298
334
0 commit comments