1 warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-68648-2.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[E0308]: mismatched types
11 --> $DIR/issue-68648-2.rs:15:17
13 LL | fn bug<'a, T: Fun<F<'a> = T>>(t: T) -> T::F<'a> {
14 | - this type parameter
16 | ^^ expected type parameter `T`, found `()`
18 = note: expected type parameter `T`
21 error: aborting due to previous error; 1 warning emitted
23 For more information about this error, try `rustc --explain E0308`.