summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2632-const-trait-impl/call-const-trait-method-fail.stderr
blob: 2d9c49af85a9a4400ab931b0d5e63bc7e1ff8cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: the trait bound `u32: ~const Plus` is not satisfied
  --> $DIR/call-const-trait-method-fail.rs:25:7
   |
LL |     a.plus(b)
   |       ^^^^ the trait `Plus` is not implemented for `u32`
   |
   = help: the trait `Plus` is implemented for `u32`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.