diff options
| author | Simon Wollwage <mail.wollwage@gmail.com> | 2014-11-20 00:56:50 +0100 |
|---|---|---|
| committer | Simon Wollwage <mail.wollwage@gmail.com> | 2014-11-20 00:56:50 +0100 |
| commit | f950e3c495e191b99493b84bce0adc0ee857f23f (patch) | |
| tree | f7ca04f311408ce7873923c0d34ee5d9de360fac /src/test/debuginfo | |
| parent | 4a83726517009688440ac99771560968d33d015c (diff) | |
removed struct_variant feature from tests
Diffstat (limited to 'src/test/debuginfo')
| -rw-r--r-- | src/test/debuginfo/borrowed-enum.rs | 1 | ||||
| -rw-r--r-- | src/test/debuginfo/by-value-non-immediate-argument.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/gdb-pretty-struct-and-enums.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/generic-static-method-on-struct-and-enum.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/generic-struct-style-enum.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/method-on-enum.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/option-like-enum.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/recursive-struct.rs | 1 | ||||
| -rw-r--r-- | src/test/debuginfo/static-method-on-struct-and-enum.rs | 2 | ||||
| -rw-r--r-- | src/test/debuginfo/struct-style-enum.rs | 1 | ||||
| -rw-r--r-- | src/test/debuginfo/unique-enum.rs | 1 |
11 files changed, 0 insertions, 18 deletions
diff --git a/src/test/debuginfo/borrowed-enum.rs b/src/test/debuginfo/borrowed-enum.rs index d1ace0fbe3d..9cda56a7743 100644 --- a/src/test/debuginfo/borrowed-enum.rs +++ b/src/test/debuginfo/borrowed-enum.rs @@ -40,7 +40,6 @@ // lldb-check:[...]$2 = TheOnlyCase(4820353753753434) #![allow(unused_variables)] -#![feature(struct_variant)] // The first element is to ensure proper alignment, irrespective of the machines word size. Since // the size of the discriminant value is machine dependent, this has be taken into account when diff --git a/src/test/debuginfo/by-value-non-immediate-argument.rs b/src/test/debuginfo/by-value-non-immediate-argument.rs index 78101d669dc..258c49afcc4 100644 --- a/src/test/debuginfo/by-value-non-immediate-argument.rs +++ b/src/test/debuginfo/by-value-non-immediate-argument.rs @@ -71,8 +71,6 @@ // lldb-check:[...]$6 = Case1 { x: 0, y: 8970181431921507452 } // lldb-command:continue -#![feature(struct_variant)] - #[deriving(Clone)] struct Struct { a: int, diff --git a/src/test/debuginfo/gdb-pretty-struct-and-enums.rs b/src/test/debuginfo/gdb-pretty-struct-and-enums.rs index 00b157d49d1..9a42cd92fdc 100644 --- a/src/test/debuginfo/gdb-pretty-struct-and-enums.rs +++ b/src/test/debuginfo/gdb-pretty-struct-and-enums.rs @@ -64,8 +64,6 @@ // gdb-command: print nested_variant2 // gdb-check:$14 = NestedVariant2 = {abc = NestedStruct = {regular_struct = RegularStruct = {the_first_field = 117, the_second_field = 118.5, the_third_field = false, the_fourth_field = "NestedStructString10"}, tuple_struct = TupleStruct = {119.5, 120}, empty_struct = EmptyStruct, c_style_enum = CStyleEnumVar3, mixed_enum = MixedEnumStructVar = {field1 = 121.5, field2 = -122}}} -#![feature(struct_variant)] - use self::CStyleEnum::{CStyleEnumVar1, CStyleEnumVar2, CStyleEnumVar3}; use self::MixedEnum::{MixedEnumCStyleVar, MixedEnumTupleVar, MixedEnumStructVar}; use self::NestedEnum::{NestedVariant1, NestedVariant2}; diff --git a/src/test/debuginfo/generic-static-method-on-struct-and-enum.rs b/src/test/debuginfo/generic-static-method-on-struct-and-enum.rs index 28897a9e837..d69d432fcb3 100644 --- a/src/test/debuginfo/generic-static-method-on-struct-and-enum.rs +++ b/src/test/debuginfo/generic-static-method-on-struct-and-enum.rs @@ -31,8 +31,6 @@ // gdb-check:$5 = 5 // gdb-command:continue -#![feature(struct_variant)] - struct Struct { x: int } diff --git a/src/test/debuginfo/generic-struct-style-enum.rs b/src/test/debuginfo/generic-struct-style-enum.rs index fe5c13e4b8d..5e967266421 100644 --- a/src/test/debuginfo/generic-struct-style-enum.rs +++ b/src/test/debuginfo/generic-struct-style-enum.rs @@ -29,8 +29,6 @@ // gdb-command:print univariant // gdb-check:$4 = {{a = -1}} -#![feature(struct_variant)] - use self::Regular::{Case1, Case2, Case3}; use self::Univariant::TheOnlyCase; diff --git a/src/test/debuginfo/method-on-enum.rs b/src/test/debuginfo/method-on-enum.rs index 399d9fabd7a..d86aa54f451 100644 --- a/src/test/debuginfo/method-on-enum.rs +++ b/src/test/debuginfo/method-on-enum.rs @@ -113,8 +113,6 @@ // lldb-check:[...]$14 = -10 // lldb-command:continue -#![feature(struct_variant)] - enum Enum { Variant1 { x: u16, y: u16 }, Variant2 (u32) diff --git a/src/test/debuginfo/option-like-enum.rs b/src/test/debuginfo/option-like-enum.rs index 7b8526adba7..11c594bac59 100644 --- a/src/test/debuginfo/option-like-enum.rs +++ b/src/test/debuginfo/option-like-enum.rs @@ -62,8 +62,6 @@ // lldb-check:[...]$5 = Void -#![feature(struct_variant)] - // If a struct has exactly two variants, one of them is empty, and the other one // contains a non-nullable pointer, then this value is used as the discriminator. // The test cases in this file make sure that something readable is generated for diff --git a/src/test/debuginfo/recursive-struct.rs b/src/test/debuginfo/recursive-struct.rs index b0c01ecce08..032b8b1fa26 100644 --- a/src/test/debuginfo/recursive-struct.rs +++ b/src/test/debuginfo/recursive-struct.rs @@ -69,7 +69,6 @@ // gdb-command:continue #![allow(unused_variables)] -#![feature(struct_variant)] use self::Opt::{Empty, Val}; diff --git a/src/test/debuginfo/static-method-on-struct-and-enum.rs b/src/test/debuginfo/static-method-on-struct-and-enum.rs index 32016a7f68f..f808e7f8a90 100644 --- a/src/test/debuginfo/static-method-on-struct-and-enum.rs +++ b/src/test/debuginfo/static-method-on-struct-and-enum.rs @@ -54,8 +54,6 @@ // lldb-check:[...]$4 = 5 // lldb-command:continue -#![feature(struct_variant)] - struct Struct { x: int } diff --git a/src/test/debuginfo/struct-style-enum.rs b/src/test/debuginfo/struct-style-enum.rs index 899b43ad559..48c6c2d79fb 100644 --- a/src/test/debuginfo/struct-style-enum.rs +++ b/src/test/debuginfo/struct-style-enum.rs @@ -49,7 +49,6 @@ // lldb-check:[...]$3 = TheOnlyCase { a: -1 } #![allow(unused_variables)] -#![feature(struct_variant)] use self::Regular::{Case1, Case2, Case3}; use self::Univariant::TheOnlyCase; diff --git a/src/test/debuginfo/unique-enum.rs b/src/test/debuginfo/unique-enum.rs index 01785340744..3c0a4a21b4f 100644 --- a/src/test/debuginfo/unique-enum.rs +++ b/src/test/debuginfo/unique-enum.rs @@ -42,7 +42,6 @@ // lldb-check:[...]$2 = TheOnlyCase(123234) #![allow(unused_variables)] -#![feature(struct_variant)] // The first element is to ensure proper alignment, irrespective of the machines word size. Since // the size of the discriminant value is machine dependent, this has be taken into account when |
