2018-08-08 12:28:26 +00:00
|
|
|
error[E0277]: the trait bound `isize: Clone2` is not satisfied
|
2023-01-12 20:15:00 +00:00
|
|
|
--> $DIR/impl-bounds-checking.rs:10:24
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | impl Getter<isize> for isize {
|
2023-01-12 20:15:00 +00:00
|
|
|
| ^^^^^ the trait `Clone2` is not implemented for `isize`
|
2021-07-31 16:26:55 +00:00
|
|
|
|
|
|
|
|
note: required by a bound in `Getter`
|
|
|
|
--> $DIR/impl-bounds-checking.rs:6:17
|
|
|
|
|
|
|
|
|
LL | trait Getter<T: Clone2> {
|
|
|
|
| ^^^^^^ required by this bound in `Getter`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|