Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Jul 30, 2015
1 parent a09bce1 commit 4aaf1be
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

#![feature(associated_consts)]
#![feature(associated_type_defaults)]

pub trait Tr {
type Assoc = u8;
Expand Down
2 changes: 2 additions & 0 deletions src/test/compile-fail/issue-23073.rs
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/test/compile-fail/issue-23595-1.rs
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions src/test/compile-fail/issue-23595-2.rs
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail/lint-missing-doc.rs
Expand Up @@ -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"]
Expand Down

0 comments on commit 4aaf1be

Please sign in to comment.