mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
error: invalid asm template string: unmatched `}` found
|
|
--> $DIR/ice-bad-err-span-in-template-129503.rs:13:10
|
|
|
|
|
LL | asm!(concat!(r#"lJ�.�"#, "r} {}"));
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unmatched `}` in asm template string
|
|
|
|
|
= note: if you intended to print `}`, you can escape it using `}}`
|
|
|
|
error: invalid asm template string: expected `}`, found `0`
|
|
--> $DIR/ice-bad-err-span-in-template-129503.rs:17:10
|
|
|
|
|
LL | asm!(concat!(r#"lJ�.�"#, "{}/day{:02}.txt"));
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
| |
|
|
| expected `}` in asm template string
|
|
| because of this opening brace
|
|
|
|
|
= note: if you intended to print `{`, you can escape it using `{{`
|
|
|
|
error: invalid asm template string: unmatched `}` found
|
|
--> $DIR/ice-bad-err-span-in-template-129503.rs:23:10
|
|
|
|
|
LL | asm!(concat!("abc", "r} {}"));
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ unmatched `}` in asm template string
|
|
|
|
|
= note: if you intended to print `}`, you can escape it using `}}`
|
|
|
|
error: invalid asm template string: unmatched `}` found
|
|
--> $DIR/ice-bad-err-span-in-template-129503.rs:29:19
|
|
|
|
|
LL | asm!("abc", "r} {}");
|
|
| ^ unmatched `}` in asm template string
|
|
|
|
|
= note: if you intended to print `}`, you can escape it using `}}`
|
|
|
|
error: aborting due to 4 previous errors
|
|
|