1 error[E0277]: can't compare `T` with `_` in const contexts
2 --> $DIR/call-generic-method-fail.rs:4:8
5 | ^^ no implementation for `T == _`
7 note: the trait `PartialEq<_>` is implemented for `T`, but that implementation is not `const`
8 --> $DIR/call-generic-method-fail.rs:4:8
12 = help: the trait `PartialEq<&B>` is implemented for `&A`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0277`.