diff --git a/src/test/compile-fail/feature-gate-try-operator.rs b/src/test/compile-fail/feature-gate-try-operator.rs index 184aa63b23426..b05c7323962c5 100644 --- a/src/test/compile-fail/feature-gate-try-operator.rs +++ b/src/test/compile-fail/feature-gate-try-operator.rs @@ -14,7 +14,5 @@ macro_rules! id { fn main() { id!(x?); //~ error: the `?` operator is not stable (see issue #31436) - //~^ help: add #![feature(question_mark)] to the crate attributes to enable y?; //~ error: the `?` operator is not stable (see issue #31436) - //~^ help: add #![feature(question_mark)] to the crate attributes to enable }