help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement
|
LL | fn foo<T: PartialEq>(a: &T, b: T) where &T: PartialEq<T> {
- | ^^^^^^^^^^^^^^^^^^^^^^
+ | ++++++++++++++++++++++
error: aborting due to previous error