]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/macro/issue-33569.rs
Update tests since ? macro op is supported on 2015.
[rust.git] / src / test / ui / parser / macro / issue-33569.rs
index a0b959ecea5213f241f9725b4c61a9ea8353e88a..9ed53519ceb3156a82eb00d9ddb3454e4f7688e2 100644 (file)
@@ -1,17 +1,7 @@
-// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 macro_rules! foo {
     { $+ } => { //~ ERROR expected identifier, found `+`
                 //~^ ERROR missing fragment specifier
-        $(x)(y) //~ ERROR expected `*` or `+`
+        $(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
     }
 }