Moved all of the tests over to ui and annotated why they are failing with appropriate fixme comments

This commit is contained in:
Sunjay Varma 2017-11-28 23:39:46 -05:00
parent db4408a3ce
commit fdf6c652ce
12 changed files with 97 additions and 35 deletions

View file

@ -12,13 +12,17 @@ use std::ops::Deref;
trait PointerFamily<U> {
type Pointer<T>: Deref<Target = T>;
//~^ ERROR generic associated types are unstable
type Pointer2<T>: Deref<Target = T> where T: Clone, U: Clone;
//~^ ERROR generic associated types are unstable
}
struct Foo;
impl PointerFamily<u32> for Foo {
type Pointer<usize> = Box<usize>;
//~^ ERROR generic associated types are unstable
type Pointer2<u32> = Box<u32>;
//~^ ERROR generic associated types are unstable
}
fn main() {}