1 error: expected one of `>`, const, lifetime, or type, found `:`
2 --> $DIR/trait-path-missing-gen_arg.rs:9:30
4 LL | fn f1<'a>(arg : Box<dyn X< : 32 >>) {}
5 | ^ expected one of `>`, const, lifetime, or type
7 help: expressions must be enclosed in braces to be used as const generic arguments
9 LL | fn f1<'a>(arg : Box<{ dyn X< : 32 } >>) {}
12 error: expected parameter name, found `>`
13 --> $DIR/trait-path-missing-gen_arg.rs:9:36
15 LL | fn f1<'a>(arg : Box<dyn X< : 32 >>) {}
16 | ^ expected parameter name
18 error: expected one of `!`, `)`, `+`, `,`, or `::`, found `>`
19 --> $DIR/trait-path-missing-gen_arg.rs:9:36
21 LL | fn f1<'a>(arg : Box<dyn X< : 32 >>) {}
24 | expected one of `!`, `)`, `+`, `,`, or `::`
27 error: expected one of `>`, const, lifetime, or type, found `=`
28 --> $DIR/trait-path-missing-gen_arg.rs:17:30
30 LL | fn f1<'a>(arg : Box<dyn X< = 32 >>) {}
31 | ^ expected one of `>`, const, lifetime, or type
33 warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
34 --> $DIR/trait-path-missing-gen_arg.rs:1:12
36 LL | #![feature(generic_associated_types)]
37 | ^^^^^^^^^^^^^^^^^^^^^^^^
39 = note: `#[warn(incomplete_features)]` on by default
40 = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
42 error[E0747]: constant provided when a type was expected
43 --> $DIR/trait-path-missing-gen_arg.rs:9:23
45 LL | fn f1<'a>(arg : Box<dyn X< : 32 >>) {}
48 error: aborting due to 5 previous errors; 1 warning emitted
50 For more information about this error, try `rustc --explain E0747`.