fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: format argument must be a string literal 2 --> $DIR/panic-2021.rs:4:12 3 | 4LL | panic!(123); 5 | ^^^ 6 | 7help: you might be missing a string literal to format with 8 | 9LL | panic!("{}", 123); 10 | +++++ 11 12error: 1 positional argument in format string, but no arguments were given 13 --> $DIR/panic-2021.rs:5:13 14 | 15LL | panic!("{}"); 16 | ^^ 17 18error: 1 positional argument in format string, but no arguments were given 19 --> $DIR/panic-2021.rs:6:19 20 | 21LL | core::panic!("{}"); 22 | ^^ 23 24error: format argument must be a string literal 25 --> $DIR/panic-2021.rs:7:20 26 | 27LL | assert!(false, 123); 28 | ^^^ 29 | 30help: you might be missing a string literal to format with 31 | 32LL | assert!(false, "{}", 123); 33 | +++++ 34 35error: 1 positional argument in format string, but no arguments were given 36 --> $DIR/panic-2021.rs:8:21 37 | 38LL | assert!(false, "{}"); 39 | ^^ 40 41error: aborting due to 5 previous errors 42