Skip to content

Commit

Permalink
Fix test stderr after tidying the source
Browse files Browse the repository at this point in the history
  • Loading branch information
gavento committed May 2, 2018
1 parent e09d9ec commit a66a011
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/test/ui/rfc1598-generic-associated-types/collections.stderr
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
error[E0109]: type parameters are not allowed on this type
--> $DIR/collections.rs:57:90
--> $DIR/collections.rs:59:90
|
LL | fn floatify<C>(ints: &C) -> <<C as Collection<i32>>::Family as CollectionFamily>::Member<f32>
| ^^^ type parameter not allowed

error[E0109]: type parameters are not allowed on this type
--> $DIR/collections.rs:67:69
--> $DIR/collections.rs:69:69
|
LL | fn floatify_sibling<C>(ints: &C) -> <C as Collection<i32>>::Sibling<f32>
| ^^^ type parameter not allowed

error[E0110]: lifetime parameters are not allowed on this type
--> $DIR/collections.rs:23:50
--> $DIR/collections.rs:24:50
|
LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter>;
| ^^^^^ lifetime parameter not allowed on this type

error[E0109]: type parameters are not allowed on this type
--> $DIR/collections.rs:28:100
--> $DIR/collections.rs:30:16
|
LL | type Sibling<U>: Collection<U> = <<Self as Collection<T>>::Family as CollectionFamily>::Member<U>;
| ^ type parameter not allowed
LL | Member<U>;
| ^ type parameter not allowed

error[E0110]: lifetime parameters are not allowed on this type
--> $DIR/collections.rs:49:50
--> $DIR/collections.rs:51:50
|
LL | fn iterate<'iter>(&'iter self) -> Self::Iter<'iter> {
| ^^^^^ lifetime parameter not allowed on this type
Expand Down

0 comments on commit a66a011

Please sign in to comment.