about summary refs log tree commit diff
path: root/src/test/parse-fail
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-10-01 18:47:27 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-10-13 15:19:15 +0300
commitea47c2b6b349d7f252a6a734ced8204e6ef70546 (patch)
treeded8a90ea9cac7d2899257365cec7305c130c0e5 /src/test/parse-fail
parentec4362da562a4b591a7d120c6677e14ea713481a (diff)
downloadrust-ea47c2b6b349d7f252a6a734ced8204e6ef70546.tar.gz
rust-ea47c2b6b349d7f252a6a734ced8204e6ef70546.zip
Unify structures and enum variants in AST
Diffstat (limited to 'src/test/parse-fail')
-rw-r--r--src/test/parse-fail/struct-variant-no-fields.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/parse-fail/struct-variant-no-fields.rs b/src/test/parse-fail/struct-variant-no-fields.rs
deleted file mode 100644
index 68cf661e218..00000000000
--- a/src/test/parse-fail/struct-variant-no-fields.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// 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 Foo {
-    Bar {} //~ ERROR unit-like struct variant should be written without braces, as `Bar,`
-}