rust/tests/ui/fmt/issue-75307.rs
2023-02-16 11:42:35 -03:00

4 lines
126 B
Rust

fn main() {
format!(r"{}{}{}", named_arg=1); //~ ERROR 3 positional arguments in format string, but there is 1 argument
}