diff options
Diffstat (limited to 'tests/ui/macros/issue-10536.stderr')
-rw-r--r-- | tests/ui/macros/issue-10536.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/macros/issue-10536.stderr b/tests/ui/macros/issue-10536.stderr new file mode 100644 index 000000000..cc0484458 --- /dev/null +++ b/tests/ui/macros/issue-10536.stderr @@ -0,0 +1,14 @@ +error: expected one of `(`, `[`, or `{`, found `two` + --> $DIR/issue-10536.rs:14:19 + | +LL | assert!({one! two()}); + | ^^^ expected one of `(`, `[`, or `{` + +error: expected one of `(`, `[`, or `{`, found `two` + --> $DIR/issue-10536.rs:18:19 + | +LL | assert!({one! two}); + | ^^^ expected one of `(`, `[`, or `{` + +error: aborting due to 2 previous errors + |