mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
9 lines
339 B
Rust
9 lines
339 B
Rust
fn main() {
|
|
format!("{\x7D");
|
|
//~^ ERROR 1 positional argument in format string, but no arguments were given
|
|
format!("\x7B\x7D");
|
|
//~^ ERROR 1 positional argument in format string, but no arguments were given
|
|
format!("{\x7D {\x7D");
|
|
//~^ ERROR 2 positional arguments in format string, but no arguments were given
|
|
}
|