]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fmt/ifmt-bad-format-args.rs
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / fmt / ifmt-bad-format-args.rs
1 fn main() {
2     format_args!(); //~ ERROR: requires at least a format string argument
3     format_args!(|| {}); //~ ERROR: must be a string literal
4 }