]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/macros/macro-at-most-once-rep-2015-ques-sep.rs
Support ? Kleene operator in 2015.
[rust.git] / src / test / ui / macros / macro-at-most-once-rep-2015-ques-sep.rs
index 2e06b4bd5c2405819a29fe8efbe2822d5c48257b..c8c920ff3f87aaa005eedffe2e59c5ee0123355a 100644 (file)
@@ -1,17 +1,7 @@
-// Copyright 2012 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.
-
 // Test behavior of `?` macro _separator_ under the 2015 edition. Namely, `?` can be used as a
 // separator, but you get a migration warning for the edition.
 
-// compile-flags: --edition=2015
+// edition:2015
 // compile-pass
 
 #![warn(rust_2018_compatibility)]