]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-fail.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / call-const-trait-method-fail.stderr
CommitLineData
5099ac24 1error[E0277]: the trait bound `u32: ~const Plus` is not satisfied
2b03887a 2 --> $DIR/call-const-trait-method-fail.rs:25:7
74b04a01
XL
3 |
4LL | a.plus(b)
2b03887a 5 | ^^^^ the trait `~const Plus` is not implemented for `u32`
5099ac24
FG
6 |
7note: the trait `Plus` is implemented for `u32`, but that implementation is not `const`
2b03887a 8 --> $DIR/call-const-trait-method-fail.rs:25:7
5099ac24
FG
9 |
10LL | a.plus(b)
2b03887a 11 | ^^^^
5099ac24 12
2b03887a 13error: aborting due to previous error
74b04a01 14
2b03887a 15For more information about this error, try `rustc --explain E0277`.