1 error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, or `>`, found `=`
2 --> $DIR/trait-path-segments.rs:6:36
4 LL | fn f1<'a>(arg : Box<dyn X<X::Y = u32>>) {}
5 | - ^ expected one of 8 possible tokens
7 | maybe try to close unmatched angle bracket
9 help: you might have meant to end the type parameters here
11 LL | fn f1<'a>(arg : Box<dyn X<X::Y> = u32>>) {}
14 error: expected one of `,`, `::`, `:`, or `>`, found `=`
15 --> $DIR/trait-path-segments.rs:17:35
17 LL | impl<T : X<<Self as X>::Y<'a> = &'a u32>> Z for T {}
18 | - ^ expected one of `,`, `::`, `:`, or `>`
20 | maybe try to close unmatched angle bracket
22 help: you might have meant to end the type parameters here
24 LL | impl<T : X<<Self as X>::Y<'a>> = &'a u32>> Z for T {}
27 error: expected one of `!`, `+`, `,`, `::`, `:`, or `>`, found `=`
28 --> $DIR/trait-path-segments.rs:28:25
30 LL | impl<T : X<X::Y<'a> = &'a u32>> Z for T {}
31 | - ^ expected one of `!`, `+`, `,`, `::`, `:`, or `>`
33 | maybe try to close unmatched angle bracket
35 help: you might have meant to end the type parameters here
37 LL | impl<T : X<X::Y<'a>> = &'a u32>> Z for T {}
40 error: aborting due to 3 previous errors