1 error[E0271]: type mismatch resolving `<{integer} as Fun>::F<'_> == [u8]`
2 --> $DIR/issue-74684-2.rs:23:5
5 | ^^^ type mismatch resolving `<{integer} as Fun>::F<'_> == [u8]`
7 note: expected this to be `[u8]`
8 --> $DIR/issue-74684-2.rs:10:18
10 LL | type F<'a> = i32;
12 note: required by a bound in `bug`
13 --> $DIR/issue-74684-2.rs:13:28
15 LL | fn bug<'a, T: ?Sized + Fun<F<'a> = [u8]>>(t: Box<T>) -> &'static T::F<'a> {
16 | ^^^^^^^^^^^^ required by this bound in `bug`
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0271`.