rust/tests/ui/macros/issue-83344.rs

7 lines
132 B
Rust

//@ check-fail
fn main() {
println!("{}\
"); //~^ ERROR: 1 positional argument in format string, but no arguments were given
}