rust/tests/ui/rfcs/rfc-2632-const-trait-impl/call-const-trait-method-fail.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

12 lines
363 B
Plaintext

error[E0277]: the trait bound `u32: ~const Plus` is not satisfied
--> $DIR/call-const-trait-method-fail.rs:25:5
|
LL | a.plus(b)
| ^ the trait `Plus` is not implemented for `u32`
|
= help: the trait `Plus` is implemented for `u32`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.