@@ -2,9 +2,7 @@ error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, or `>`, found `=`
2
2
--> $DIR/trait-path-segments.rs:6:36
3
3
|
4
4
LL | 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
8
6
|
9
7
help: you might have meant to end the type parameters here
10
8
|
@@ -15,9 +13,7 @@ error: expected one of `,`, `::`, `:`, or `>`, found `=`
15
13
--> $DIR/trait-path-segments.rs:17:35
16
14
|
17
15
LL | 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 `>`
21
17
|
22
18
help: you might have meant to end the type parameters here
23
19
|
@@ -28,9 +24,7 @@ error: expected one of `!`, `+`, `,`, `::`, `:`, or `>`, found `=`
28
24
--> $DIR/trait-path-segments.rs:28:25
29
25
|
30
26
LL | 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 `>`
34
28
|
35
29
help: you might have meant to end the type parameters here
36
30
|
0 commit comments