]>
Commit | Line | Data |
---|---|---|
5099ac24 | 1 | error[E0277]: the trait bound `u32: ~const Plus` is not satisfied |
2b03887a | 2 | --> $DIR/call-const-trait-method-fail.rs:25:7 |
74b04a01 XL |
3 | | |
4 | LL | a.plus(b) | |
2b03887a | 5 | | ^^^^ the trait `~const Plus` is not implemented for `u32` |
5099ac24 FG |
6 | | |
7 | note: 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 | | |
10 | LL | a.plus(b) | |
2b03887a | 11 | | ^^^^ |
5099ac24 | 12 | |
2b03887a | 13 | error: aborting due to previous error |
74b04a01 | 14 | |
2b03887a | 15 | For more information about this error, try `rustc --explain E0277`. |