diff options
Diffstat (limited to 'tests/ui/issues/issue-75307.rs')
-rw-r--r-- | tests/ui/issues/issue-75307.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-75307.rs b/tests/ui/issues/issue-75307.rs new file mode 100644 index 000000000..cffa6bea8 --- /dev/null +++ b/tests/ui/issues/issue-75307.rs @@ -0,0 +1,3 @@ +fn main() { + format!(r"{}{}{}", named_arg=1); //~ ERROR 3 positional arguments in format string, but there is 1 argument +} |