]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/bad-format-args.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / ui / codemap_tests / bad-format-args.rs
1 fn main() {
2     format!(); //~ ERROR requires at least a format string argument
3     format!("" 1); //~ ERROR expected `,`, found `1`
4     format!("", 1 1); //~ ERROR expected one of
5 }