Fix the test

This commit is contained in:
Mark Mansi 2018-02-08 23:00:38 -06:00
parent 1bd086283b
commit b92e542ddd
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
// gate is not used.
macro_rules! m { ($(a)?) => {} }
//~^ ERROR Using the `?` macro Kleene operator for "at most one" repetition is unstable (see issue #48075)
//~^ ERROR Using the `?` macro Kleene operator for "at most one" repetition is unstable
fn main() {
m!();

View File

@ -1,4 +1,4 @@
error[E0658]: Using the `?` macro Kleene operator for "at most one" repetition is unstable
error[E0658]: Using the `?` macro Kleene operator for "at most one" repetition is unstable (see issue #48075)
--> $DIR/feature-gate-macro_at_most_once_rep.rs:14:20
|
14 | macro_rules! m { ($(a)?) => {} }