Fix tests
This commit is contained in:
parent
a09bce1047
commit
4aaf1beffb
5 changed files with 8 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
#![feature(associated_consts)]
|
||||
#![feature(associated_type_defaults)]
|
||||
|
||||
pub trait Tr {
|
||||
type Assoc = u8;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue