]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/macros/macro-at-most-once-rep-2015-ques-rep.stderr
Changing error message to reflect changes with the 2018 edition
[rust.git] / src / test / ui / macros / macro-at-most-once-rep-2015-ques-rep.stderr
index b27b60459d63303f70c331a8653c9cb6086d807c..cb0a9163b74702da761767ebcc60f9dbf6012906 100644 (file)
@@ -4,7 +4,7 @@ error: expected `*` or `+`
 LL |     ($(a)?) => {} //~ERROR expected `*` or `+`
    |          ^
    |
-   = note: `?` is not a macro repetition operator
+   = note: `?` is not a macro repetition operator in the 2015 edition, but is accepted in the 2018 edition
 
 error: expected `*` or `+`
   --> $DIR/macro-at-most-once-rep-2015-ques-rep.rs:10:11
@@ -12,7 +12,7 @@ error: expected `*` or `+`
 LL |     ($(a),?) => {} //~ERROR expected `*` or `+`
    |           ^
    |
-   = note: `?` is not a macro repetition operator
+   = note: `?` is not a macro repetition operator in the 2015 edition, but is accepted in the 2018 edition
 
 error: aborting due to 2 previous errors