Fix failing tests
This commit is contained in:
parent
bb0bbf639e
commit
a6724989ce
3 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
#![feature(rustc_attrs)]
|
||||||
|
|
||||||
#[rustc_object_lifetime_default]
|
#[rustc_object_lifetime_default]
|
||||||
struct A<T>(T); //~ ERROR None
|
struct A<T>(T); //~ ERROR None
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// Various tests related to testing how region inference works
|
// Various tests related to testing how region inference works
|
||||||
// with respect to the object receivers.
|
// with respect to the object receivers.
|
||||||
|
|
||||||
|
#![feature(rustc_attrs)]
|
||||||
#![allow(warnings)]
|
#![allow(warnings)]
|
||||||
|
|
||||||
trait Foo {
|
trait Foo {
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// Various tests related to testing how region inference works
|
// Various tests related to testing how region inference works
|
||||||
// with respect to the object receivers.
|
// with respect to the object receivers.
|
||||||
|
|
||||||
|
#![feature(rustc_attrs)]
|
||||||
#![allow(warnings)]
|
#![allow(warnings)]
|
||||||
|
|
||||||
trait Foo {
|
trait Foo {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue