]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/bad-format-args.rs
Sync rust-lang/portable-simd@03f6fbb21e6050da2a05b3ce8f480c020b384916
[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 }