rust/tests/ui/fmt/ifmt-unknown-trait.rs
2023-01-11 09:32:08 +00:00

5 lines
107 B
Rust

fn main() {
format!("{:notimplemented}", "3");
//~^ ERROR: unknown format trait `notimplemented`
}