@@ -2,9 +2,7 @@ error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, or `>`, found `=`
22 --> $DIR/trait-path-segments.rs:6:36
33 |
44LL | fn f1<'a>(arg : Box<dyn X<X::Y = u32>>) {}
5- | - ^ expected one of 8 possible tokens
6- | |
7- | maybe try to close unmatched angle bracket
5+ | ^ expected one of 8 possible tokens
86 |
97help: you might have meant to end the type parameters here
108 |
@@ -15,9 +13,7 @@ error: expected one of `,`, `::`, `:`, or `>`, found `=`
1513 --> $DIR/trait-path-segments.rs:17:35
1614 |
1715LL | impl<T : X<<Self as X>::Y<'a> = &'a u32>> Z for T {}
18- | - ^ expected one of `,`, `::`, `:`, or `>`
19- | |
20- | maybe try to close unmatched angle bracket
16+ | ^ expected one of `,`, `::`, `:`, or `>`
2117 |
2218help: you might have meant to end the type parameters here
2319 |
@@ -28,9 +24,7 @@ error: expected one of `!`, `+`, `,`, `::`, `:`, or `>`, found `=`
2824 --> $DIR/trait-path-segments.rs:28:25
2925 |
3026LL | impl<T : X<X::Y<'a> = &'a u32>> Z for T {}
31- | - ^ expected one of `!`, `+`, `,`, `::`, `:`, or `>`
32- | |
33- | maybe try to close unmatched angle bracket
27+ | ^ expected one of `!`, `+`, `,`, `::`, `:`, or `>`
3428 |
3529help: you might have meant to end the type parameters here
3630 |
0 commit comments