1 error[E0207]: the type parameter `U` is not constrained by the impl trait, self type, or predicates
2 --> $DIR/issue-87735.rs:25:13
4 LL | impl<'b, T, U> AsRef2 for Foo<T>
5 | ^ unconstrained type parameter
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0207`.