]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/bad-format-args.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-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 }