mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
9 lines
244 B
Rust
9 lines
244 B
Rust
// issue: 112732
|
|
|
|
// `}` is typoed since it is interpreted as a fill character rather than a closing bracket
|
|
|
|
fn main() {
|
|
println!("Hello, world! {0:}<3", 2);
|
|
//~^ ERROR invalid format string: expected `'}'` but string was terminated
|
|
}
|