fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: requires at least a format string argument 2 --> $DIR/ifmt-bad-format-args.rs:2:5 3 | 4LL | format_args!(); 5 | ^^^^^^^^^^^^^^^ 6 | 7 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 8 9error: format argument must be a string literal 10 --> $DIR/ifmt-bad-format-args.rs:3:18 11 | 12LL | format_args!(|| {}); 13 | ^^^^^ 14 | 15help: you might be missing a string literal to format with 16 | 17LL | format_args!("{}", || {}); 18 | ^^^^^ 19 20error: aborting due to 2 previous errors 21