1 error: avoid using named labels in inline assembly
2 --> $DIR/named-asm-labels.rs:24:15
7 = note: `#[deny(named_asm_labels)]` on by default
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
11 error: avoid using named labels in inline assembly
12 --> $DIR/named-asm-labels.rs:27:15
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
20 error: avoid using named labels in inline assembly
21 --> $DIR/named-asm-labels.rs:30:15
23 LL | asm!("foo: bar1: nop");
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
29 error: avoid using named labels in inline assembly
30 --> $DIR/named-asm-labels.rs:34:15
32 LL | asm!("foo1: nop", "nop");
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
38 error: avoid using named labels in inline assembly
39 --> $DIR/named-asm-labels.rs:35:15
41 LL | asm!("foo2: foo3: nop", "nop");
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
47 error: avoid using named labels in inline assembly
48 --> $DIR/named-asm-labels.rs:37:22
50 LL | asm!("nop", "foo4: nop");
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
56 error: avoid using named labels in inline assembly
57 --> $DIR/named-asm-labels.rs:38:15
59 LL | asm!("foo5: nop", "foo6: nop");
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
65 error: avoid using named labels in inline assembly
66 --> $DIR/named-asm-labels.rs:38:28
68 LL | asm!("foo5: nop", "foo6: nop");
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
74 error: avoid using named labels in inline assembly
75 --> $DIR/named-asm-labels.rs:43:15
77 LL | asm!("foo7: nop; foo8: nop");
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
83 error: avoid using named labels in inline assembly
84 --> $DIR/named-asm-labels.rs:45:15
86 LL | asm!("foo9: nop; nop");
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
92 error: avoid using named labels in inline assembly
93 --> $DIR/named-asm-labels.rs:46:20
95 LL | asm!("nop; foo10: nop");
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
101 error: avoid using named labels in inline assembly
102 --> $DIR/named-asm-labels.rs:49:15
104 LL | asm!("bar2: nop\n bar3: nop");
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
110 error: avoid using named labels in inline assembly
111 --> $DIR/named-asm-labels.rs:51:15
113 LL | asm!("bar4: nop\n nop");
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
119 error: avoid using named labels in inline assembly
120 --> $DIR/named-asm-labels.rs:52:21
122 LL | asm!("nop\n bar5: nop");
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
128 error: avoid using named labels in inline assembly
129 --> $DIR/named-asm-labels.rs:53:21
131 LL | asm!("nop\n bar6: bar7: nop");
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
137 error: avoid using named labels in inline assembly
138 --> $DIR/named-asm-labels.rs:59:13
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
148 error: avoid using named labels in inline assembly
149 --> $DIR/named-asm-labels.rs:68:19
151 LL | nop ; blah4: nop
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
157 error: avoid using named labels in inline assembly
158 --> $DIR/named-asm-labels.rs:82:15
160 LL | asm!("blah1: 2bar: nop");
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
166 error: avoid using named labels in inline assembly
167 --> $DIR/named-asm-labels.rs:85:15
169 LL | asm!("def: def: nop");
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
175 error: avoid using named labels in inline assembly
176 --> $DIR/named-asm-labels.rs:86:15
178 LL | asm!("def: nop\ndef: nop");
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
184 error: avoid using named labels in inline assembly
185 --> $DIR/named-asm-labels.rs:87:15
187 LL | asm!("def: nop; def: nop");
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
193 error: avoid using named labels in inline assembly
194 --> $DIR/named-asm-labels.rs:95:15
196 LL | asm!("fooo\u{003A} nop");
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
202 error: avoid using named labels in inline assembly
203 --> $DIR/named-asm-labels.rs:96:15
205 LL | asm!("foooo\x3A nop");
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
211 error: avoid using named labels in inline assembly
212 --> $DIR/named-asm-labels.rs:99:15
214 LL | asm!("fooooo:\u{000A} nop");
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
220 error: avoid using named labels in inline assembly
221 --> $DIR/named-asm-labels.rs:100:15
223 LL | asm!("foooooo:\x0A nop");
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
229 error: avoid using named labels in inline assembly
230 --> $DIR/named-asm-labels.rs:104:14
232 LL | asm!("\x41\x42\x43\x3A\x20\x6E\x6F\x70");
233 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
238 error: avoid using named labels in inline assembly
239 --> $DIR/named-asm-labels.rs:112:13
241 LL | ab: nop // ab: does foo
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
247 error: avoid using named labels in inline assembly
248 --> $DIR/named-asm-labels.rs:124:14
250 LL | asm!(include_str!("named-asm-labels.s"));
251 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
256 warning: avoid using named labels in inline assembly
257 --> $DIR/named-asm-labels.rs:134:19
259 LL | asm!("warned: nop");
262 note: the lint level is defined here
263 --> $DIR/named-asm-labels.rs:132:16
265 LL | #[warn(named_asm_labels)]
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
270 error: avoid using named labels in inline assembly
271 --> $DIR/named-asm-labels.rs:143:20
273 LL | unsafe { asm!(".Lfoo: mov rax, {}; ret;", "nop", const 1, options(noreturn)) }
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
279 error: avoid using named labels in inline assembly
280 --> $DIR/named-asm-labels.rs:149:20
282 LL | unsafe { asm!(".Lbar: mov rax, {}; ret;", "nop", const 1, options(noreturn)) }
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
288 error: avoid using named labels in inline assembly
289 --> $DIR/named-asm-labels.rs:157:20
291 LL | unsafe { asm!(".Laaa: nop; ret;", options(noreturn)) }
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
297 error: avoid using named labels in inline assembly
298 --> $DIR/named-asm-labels.rs:167:24
300 LL | unsafe { asm!(".Lbbb: nop; ret;", options(noreturn)) }
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
306 error: avoid using named labels in inline assembly
307 --> $DIR/named-asm-labels.rs:176:15
309 LL | asm!("closure1: nop");
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
315 error: avoid using named labels in inline assembly
316 --> $DIR/named-asm-labels.rs:180:15
318 LL | asm!("closure2: nop");
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
324 error: avoid using named labels in inline assembly
325 --> $DIR/named-asm-labels.rs:190:19
327 LL | asm!("closure3: nop");
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
333 error: aborting due to 35 previous errors; 1 warning emitted