summaryrefslogtreecommitdiffstats
path: root/tests/ui/codemap_tests/bad-format-args.rs
blob: e89a45a84f5ceed59162be28d054e45b38c2a17f (plain)
1
2
3
4
5
fn main() {
    format!(); //~ ERROR requires at least a format string argument
    format!("" 1); //~ ERROR expected `,`, found `1`
    format!("", 1 1); //~ ERROR expected one of
}