1 error[E0277]: the trait bound `u32: ~const Plus` is not satisfied
2 --> $DIR/call-const-trait-method-fail.rs:25:7
5 | ^^^^ the trait `~const Plus` is not implemented for `u32`
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
12 help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
14 LL | pub const fn add_u32(a: u32, b: u32) -> u32 where u32: ~const Plus {
15 | ++++++++++++++++++++++
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.