about summary refs log tree commit diff
path: root/src/test/parse-fail
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-11 18:11:01 +0000
committerbors <bors@rust-lang.org>2018-02-11 18:11:01 +0000
commitb8398d947d160ad4f26cc22da66e5fbc7030817b (patch)
tree915e92eb58e30190ca3fa21aa4c8dc72e3e99438 /src/test/parse-fail
parent0196b20f6943963fd7598c0486ce3f58189c04d1 (diff)
parentb92e542ddd41affaf6fb5d1267b8e8dfc03089a5 (diff)
Auto merge of #47752 - mark-i-m:at-most-once-rep, r=nikomatsakis
Implement `?` macro repetition

See rust-lang/rfcs#2298 (with disposition merge)
Diffstat (limited to 'src/test/parse-fail')
-rw-r--r--src/test/parse-fail/issue-33569.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/issue-33569.rs b/src/test/parse-fail/issue-33569.rs
index 15d491719a6..af90d0a83c9 100644
--- a/src/test/parse-fail/issue-33569.rs
+++ b/src/test/parse-fail/issue-33569.rs
@@ -13,7 +13,7 @@
 macro_rules! foo {
     { $+ } => { //~ ERROR expected identifier, found `+`
                 //~^ ERROR missing fragment specifier
-        $(x)(y) //~ ERROR expected `*` or `+`
+        $(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
     }
 }