]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/bad-format-args.rs
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[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 }