|
LL | fn add_state(op: <isize as HasState>::State) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `HasState` is not implemented for `isize`
-...
+ |
+note: required by a bound in `HasState`
+ --> $DIR/issue-18611.rs:5:1
+ |
LL | trait HasState {
- | -------------- required by this bound in `HasState`
+ | ^^^^^^^^^^^^^^ required by this bound in `HasState`
error: aborting due to previous error