diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/fmt/format-concat-span.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/fmt/format-concat-span.rs b/src/test/ui/fmt/format-concat-span.rs deleted file mode 100644 index ce92df0ad..000000000 --- a/src/test/ui/fmt/format-concat-span.rs +++ /dev/null @@ -1,15 +0,0 @@ -// If the format string is another macro invocation, rustc would previously -// compute nonsensical spans, such as: -// -// error: invalid format string: unmatched `}` found -// --> test.rs:2:17 -// | -// 2 | format!(concat!("abc}")); -// | ^ unmatched `}` in format string -// -// This test checks that this behavior has been fixed. - -fn main() { - format!(concat!("abc}")); - //~^ ERROR: invalid format string: unmatched `}` found -} |