]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18611.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-18611.stderr
1 error[E0277]: the trait bound `isize: HasState` is not satisfied
2   --> $DIR/issue-18611.rs:1:1
3    |
4 LL | / fn add_state(op: <isize as HasState>::State) {
5 LL | |
6 LL | | }
7    | |_^ the trait `HasState` is not implemented for `isize`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.