diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-17 17:20:08 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-17 17:34:00 +0530 |
| commit | a6724989ceb6bccd63f5e017dd938bce804a3b5c (patch) | |
| tree | ce646a64f88de968218647e98c46b421bfb82ed4 | |
| parent | bb0bbf639eafdd79380a3b1e2e92263a2aa914f9 (diff) | |
| download | rust-a6724989ceb6bccd63f5e017dd938bce804a3b5c.tar.gz rust-a6724989ceb6bccd63f5e017dd938bce804a3b5c.zip | |
Fix failing tests
| -rw-r--r-- | src/test/compile-fail/object-lifetime-default.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/region-object-lifetime-1.rs | 1 | ||||
| -rw-r--r-- | src/test/compile-fail/region-object-lifetime-3.rs | 1 |
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 { |
