Skip to content

Commit a672498

Browse files
committed
Fix failing tests
1 parent bb0bbf6 commit a672498

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/test/compile-fail/object-lifetime-default.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![feature(rustc_attrs)]
12+
1113
#[rustc_object_lifetime_default]
1214
struct A<T>(T); //~ ERROR None
1315

src/test/compile-fail/region-object-lifetime-1.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// Various tests related to testing how region inference works
1212
// with respect to the object receivers.
1313

14+
#![feature(rustc_attrs)]
1415
#![allow(warnings)]
1516

1617
trait Foo {

src/test/compile-fail/region-object-lifetime-3.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// Various tests related to testing how region inference works
1212
// with respect to the object receivers.
1313

14+
#![feature(rustc_attrs)]
1415
#![allow(warnings)]
1516

1617
trait Foo {

0 commit comments

Comments
 (0)