1 warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/gat-trait-path-missing-lifetime.rs:1:12
4 LL | #![feature(generic_associated_types)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
10 error[E0107]: missing generics for associated type `X::Y`
11 --> $DIR/gat-trait-path-missing-lifetime.rs:5:8
14 | ^ expected 1 lifetime argument
16 note: associated type defined here, with 1 lifetime parameter: `'a`
17 --> $DIR/gat-trait-path-missing-lifetime.rs:5:8
21 help: use angle brackets to add missing lifetime argument
26 error[E0107]: missing generics for associated type `X::Y`
27 --> $DIR/gat-trait-path-missing-lifetime.rs:5:8
30 | ^ expected 1 lifetime argument
32 note: associated type defined here, with 1 lifetime parameter: `'a`
33 --> $DIR/gat-trait-path-missing-lifetime.rs:5:8
37 help: use angle brackets to add missing lifetime argument
42 error: aborting due to 2 previous errors; 1 warning emitted
44 For more information about this error, try `rustc --explain E0107`.