]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/call-const-trait-method-fail.stderr
Auto merge of #105712 - amg98:feat/vita-support, r=wesleywiser
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / call-const-trait-method-fail.stderr
1 error[E0277]: the trait bound `u32: ~const Plus` is not satisfied
2   --> $DIR/call-const-trait-method-fail.rs:25:7
3    |
4 LL |     a.plus(b)
5    |       ^^^^ the trait `~const Plus` is not implemented for `u32`
6    |
7 note: the trait `Plus` is implemented for `u32`, but that implementation is not `const`
8   --> $DIR/call-const-trait-method-fail.rs:25:7
9    |
10 LL |     a.plus(b)
11    |       ^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.