1 error: expected one of `,`, `:`, or `>`, found `=`
2 --> $DIR/trait-path-types.rs:6:37
4 LL | fn f<'a>(arg : Box<dyn X< [u8; 1] = u32>>) {}
5 | - ^ expected one of `,`, `:`, or `>`
7 | maybe try to close unmatched angle bracket
9 help: you might have meant to end the type parameters here
11 LL | fn f<'a>(arg : Box<dyn X< [u8; 1]> = u32>>) {}
14 error: expected one of `,`, `:`, or `>`, found `=`
15 --> $DIR/trait-path-types.rs:11:37
17 LL | fn f1<'a>(arg : Box<dyn X<(Y<'a>) = &'a ()>>) {}
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 | fn f1<'a>(arg : Box<dyn X<(Y<'a>)> = &'a ()>>) {}
27 error: expected one of `,`, `:`, or `>`, found `=`
28 --> $DIR/trait-path-types.rs:16:33
30 LL | fn f1<'a>(arg : Box<dyn X< 'a = u32 >>) {}
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 | fn f1<'a>(arg : Box<dyn X< 'a> = u32 >>) {}
40 error: aborting due to 3 previous errors