Skip to content

Commit a66a011

Browse files
committed
Fix test stderr after tidying the source
1 parent e09d9ec commit a66a011

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/test/ui/rfc1598-generic-associated-types/collections.stderr

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
error[E0109]: type parameters are not allowed on this type
2-
--> $DIR/collections.rs:57:90
2+
--> $DIR/collections.rs:59:90
33
|
44
LL | fn floatify<C>(ints: &C) -> <<C as Collection<i32>>::Family as CollectionFamily>::Member<f32>
55
| ^^^ type parameter not allowed
66

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

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

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

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

0 commit comments

Comments
 (0)