rust/tests/ui/fmt/ifmt-unknown-trait.rs

5 lines
107 B
Rust

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