Skip to content

Commit

Permalink
Rollup merge of rust-lang#32894 - brson:fixbeta, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix beta branch

This test tests a message that is only displayed on nightly.

Still testing this locally, but I suspect it's correct. r? @alexcrichton
  • Loading branch information
steveklabnik committed Apr 14, 2016
2 parents 22877d6 + 647e73d commit e548880
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/compile-fail/feature-gate-try-operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit e548880

Please sign in to comment.