From b92e542ddd41affaf6fb5d1267b8e8dfc03089a5 Mon Sep 17 00:00:00 2001 From: Mark Mansi Date: Thu, 8 Feb 2018 23:00:38 -0600 Subject: [PATCH] Fix the test --- src/test/ui/feature-gate-macro_at_most_once_rep.rs | 2 +- src/test/ui/feature-gate-macro_at_most_once_rep.stderr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/ui/feature-gate-macro_at_most_once_rep.rs b/src/test/ui/feature-gate-macro_at_most_once_rep.rs index 27257eec277c1..19f5aca5730e1 100644 --- a/src/test/ui/feature-gate-macro_at_most_once_rep.rs +++ b/src/test/ui/feature-gate-macro_at_most_once_rep.rs @@ -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!(); diff --git a/src/test/ui/feature-gate-macro_at_most_once_rep.stderr b/src/test/ui/feature-gate-macro_at_most_once_rep.stderr index 515c6243e668b..02dbab07bdecc 100644 --- a/src/test/ui/feature-gate-macro_at_most_once_rep.stderr +++ b/src/test/ui/feature-gate-macro_at_most_once_rep.stderr @@ -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)?) => {} }