]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2632-const-trait-impl/call-generic-method-fail.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / call-generic-method-fail.stderr
CommitLineData
064997fb
FG
1error[E0277]: can't compare `T` with `_` in const contexts
2 --> $DIR/call-generic-method-fail.rs:4:8
5099ac24
FG
3 |
4LL | *t == *t
064997fb 5 | ^^ no implementation for `T == _`
5099ac24 6 |
064997fb
FG
7note: the trait `PartialEq<_>` is implemented for `T`, but that implementation is not `const`
8 --> $DIR/call-generic-method-fail.rs:4:8
fc512014
XL
9 |
10LL | *t == *t
064997fb
FG
11 | ^^
12 = help: the trait `PartialEq<&B>` is implemented for `&A`
fc512014 13
064997fb 14error: aborting due to previous error
fc512014 15
064997fb 16For more information about this error, try `rustc --explain E0277`.