]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-14303-enum.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / issue-14303-enum.rs
index 6bcf588b5161b92e652cc6b86a904d1fd9e320e5..a6106159805b20da2c3f8daf8b8ca9f099566cdb 100644 (file)
@@ -1,16 +1,6 @@
-// Copyright 2014 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.
-
-// compile-flags: -Z parse-only
-
 enum X<'a, T, 'b> {
 //~^ ERROR lifetime parameters must be declared prior to type parameters
-    A(&'a T)
+    A(&'a &'b T)
 }
+
+fn main() {}