about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-17 17:20:08 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 17:34:00 +0530
commita6724989ceb6bccd63f5e017dd938bce804a3b5c (patch)
treece646a64f88de968218647e98c46b421bfb82ed4
parentbb0bbf639eafdd79380a3b1e2e92263a2aa914f9 (diff)
downloadrust-a6724989ceb6bccd63f5e017dd938bce804a3b5c.tar.gz
rust-a6724989ceb6bccd63f5e017dd938bce804a3b5c.zip
Fix failing tests
-rw-r--r--src/test/compile-fail/object-lifetime-default.rs2
-rw-r--r--src/test/compile-fail/region-object-lifetime-1.rs1
-rw-r--r--src/test/compile-fail/region-object-lifetime-3.rs1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/test/compile-fail/object-lifetime-default.rs b/src/test/compile-fail/object-lifetime-default.rs
index 73f71751ee8..ac03c085b7b 100644
--- a/src/test/compile-fail/object-lifetime-default.rs
+++ b/src/test/compile-fail/object-lifetime-default.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![feature(rustc_attrs)]
+
 #[rustc_object_lifetime_default]
 struct A<T>(T); //~ ERROR None
 
diff --git a/src/test/compile-fail/region-object-lifetime-1.rs b/src/test/compile-fail/region-object-lifetime-1.rs
index bb37d55fb08..2095fb903b8 100644
--- a/src/test/compile-fail/region-object-lifetime-1.rs
+++ b/src/test/compile-fail/region-object-lifetime-1.rs
@@ -11,6 +11,7 @@
 // Various tests related to testing how region inference works
 // with respect to the object receivers.
 
+#![feature(rustc_attrs)]
 #![allow(warnings)]
 
 trait Foo {
diff --git a/src/test/compile-fail/region-object-lifetime-3.rs b/src/test/compile-fail/region-object-lifetime-3.rs
index 7f00334f67e..097053276c7 100644
--- a/src/test/compile-fail/region-object-lifetime-3.rs
+++ b/src/test/compile-fail/region-object-lifetime-3.rs
@@ -11,6 +11,7 @@
 // Various tests related to testing how region inference works
 // with respect to the object receivers.
 
+#![feature(rustc_attrs)]
 #![allow(warnings)]
 
 trait Foo {