about summary refs log tree commit diff
path: root/src/test/debug-info/method-on-enum.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-02 20:00:54 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-06 14:39:25 -0700
commit3396365cab2da7bb1e9b57932f4092bfa49d3787 (patch)
treed85ce5dd421fedece67cf58f06e8dbac2ec23efe /src/test/debug-info/method-on-enum.rs
parentdd98f7089fec5ee8bc908089bcb89c6e352d8726 (diff)
downloadrust-3396365cab2da7bb1e9b57932f4092bfa49d3787.tar.gz
rust-3396365cab2da7bb1e9b57932f4092bfa49d3787.zip
Add appropriate #[feature] directives to tests
Diffstat (limited to 'src/test/debug-info/method-on-enum.rs')
-rw-r--r--src/test/debug-info/method-on-enum.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/debug-info/method-on-enum.rs b/src/test/debug-info/method-on-enum.rs
index d428d230d45..2f02844fdc5 100644
--- a/src/test/debug-info/method-on-enum.rs
+++ b/src/test/debug-info/method-on-enum.rs
@@ -92,6 +92,8 @@
 // check:$21 = -16
 // debugger:continue
 
+#[feature(struct_variant)];
+
 enum Enum {
     Variant1 { x: u16, y: u16 },
     Variant2 (u32)