3 // First format below would cause a panic, second would generate error with incorrect span
6 let _ = format!("→{}→\n");
7 //~^ ERROR 1 positional argument in format string, but no arguments were given
8 let _ = format!("→{} \n");
9 //~^ ERROR 1 positional argument in format string, but no arguments were given