about summary refs log tree commit diff
path: root/src/test/compile-fail/deriving-span-DeepClone-enum-struct-variant.rs
diff options
context:
space:
mode:
authorMichael Darakananda <pongad@gmail.com>2014-03-05 01:19:14 -0500
committerMichael Darakananda <pongad@gmail.com>2014-03-08 15:09:00 -0500
commit438893b36fe241b37eb76250f7c38ac8832f5706 (patch)
tree3cf612ba7c19fcc473a7f4e11ac984224a5c885d /src/test/compile-fail/deriving-span-DeepClone-enum-struct-variant.rs
parent96e8c00e95b1980c429c5cfa4aae33e3cc60f3c5 (diff)
downloadrust-438893b36fe241b37eb76250f7c38ac8832f5706.tar.gz
rust-438893b36fe241b37eb76250f7c38ac8832f5706.zip
Removed DeepClone. Issue #12698.
Diffstat (limited to 'src/test/compile-fail/deriving-span-DeepClone-enum-struct-variant.rs')
-rw-r--r--src/test/compile-fail/deriving-span-DeepClone-enum-struct-variant.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/test/compile-fail/deriving-span-DeepClone-enum-struct-variant.rs b/src/test/compile-fail/deriving-span-DeepClone-enum-struct-variant.rs
deleted file mode 100644
index 7cee7b8ee0d..00000000000
--- a/src/test/compile-fail/deriving-span-DeepClone-enum-struct-variant.rs
+++ /dev/null
@@ -1,26 +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.
-
-// This file was auto-generated using 'src/etc/generate-keyword-span-tests.py'
-
-#[feature(struct_variant)];
-extern crate extra;
-
-#[deriving(Clone)]
-struct Error;
-
-#[deriving(DeepClone,Clone)]
-enum Enum {
-   A {
-     x: Error //~ ERROR
-   }
-}
-
-fn main() {}