]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/bad-format-args.rs
:arrow_up: rust-analyzer
[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 }