]> git.lizzy.rs Git - rust.git/commitdiff
Fix failing tests
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 17 Feb 2015 11:50:08 +0000 (17:20 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 17 Feb 2015 12:04:00 +0000 (17:34 +0530)
src/test/compile-fail/object-lifetime-default.rs
src/test/compile-fail/region-object-lifetime-1.rs
src/test/compile-fail/region-object-lifetime-3.rs

index 73f71751ee80f37d35e857e31e86917af0f83381..ac03c085b7b6cc6c3d03bbe8f742daa7677f58a2 100644 (file)
@@ -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
 
index bb37d55fb08d067157623166d9ee1bce52b813a6..2095fb903b844d7526f33321cb171bac111e5a8f 100644 (file)
@@ -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 {
index 7f00334f67e9f750c29fadda423b0b1fdf311d33..097053276c7fb99a52811aa893e2e2dcf12105c2 100644 (file)
@@ -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 {