Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Feb 9, 2018
1 parent 1bd0862 commit b92e542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/feature-gate-macro_at_most_once_rep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/feature-gate-macro_at_most_once_rep.stderr
Original file line number Diff line number Diff line change
@@ -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)?) => {} }
Expand Down

0 comments on commit b92e542

Please sign in to comment.