Moved all of the tests over to ui and annotated why they are failing with appropriate fixme comments
This commit is contained in:
parent
db4408a3ce
commit
fdf6c652ce
12 changed files with 97 additions and 35 deletions
|
|
@ -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() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue