1 error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, or `>`, found `=`
2 --> $DIR/trait-path-segments.rs:8: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 error: expected one of `,`, `::`, `:`, or `>`, found `=`
10 --> $DIR/trait-path-segments.rs:19:35
12 LL | impl<T : X<<Self as X>::Y<'a> = &'a u32>> Z for T {}
13 | - ^ expected one of `,`, `::`, `:`, or `>`
15 | maybe try to close unmatched angle bracket
17 error: expected one of `!`, `+`, `,`, `::`, `:`, or `>`, found `=`
18 --> $DIR/trait-path-segments.rs:30:25
20 LL | impl<T : X<X::Y<'a> = &'a u32>> Z for T {}
21 | - ^ expected one of `!`, `+`, `,`, `::`, `:`, or `>`
23 | maybe try to close unmatched angle bracket
25 error: aborting due to 3 previous errors