Fix tests

This commit is contained in:
Brian Anderson 2015-07-30 15:18:34 -07:00
parent a09bce1047
commit 4aaf1beffb
5 changed files with 8 additions and 0 deletions

View file

@ -9,6 +9,7 @@
// except according to those terms.
#![feature(associated_consts)]
#![feature(associated_type_defaults)]
pub trait Tr {
type Assoc = u8;

View file

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(associated_type_defaults)]
trait Foo { type T; }
trait Bar {
type Foo: Foo;

View file

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(associated_type_defaults)]
use std::ops::{Index};
trait Hierarchy {

View file

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![feature(associated_type_defaults)]
pub struct C<AType: A> {a:AType}
pub trait A {

View file

@ -12,6 +12,7 @@
// injected intrinsics by the compiler.
#![deny(missing_docs)]
#![allow(dead_code)]
#![feature(associated_type_defaults)]
//! Some garbage docs for the crate here
#![doc="More garbage"]