Closed
Description
Code
// Tests that the compiler does not try to create a span
// which points in the middle of a multibyte character.
fn f(){(print!(á
note: no newline at end of code
Meta
rustc --version --verbose
:
8a75c5a9b5d9c48aa576b08faf735b926d0d9a71
Error output
error: this file contains an unclosed delimiter
--> ./icemaker_87924.rs:4:17
|
4 | fn f(){(print!(á
| -- - ^
| || |
| || unclosed delimiter
| |unclosed delimiter
| unclosed delimiter
error: format argument must be a string literal
--> ./icemaker_87924.rs:4:16
|
4 | fn f(){(print!(á
| ^
|
help: you might be missing a string literal to format with
|
4 | fn f(){(print!("{}", á
| +++++