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
|
|
|
|
|
2023-09-10 03:33:07 +00:00
|
|
|
help: this trait has no implementations, consider adding one
|
|
|
|
--> $DIR/impl-bounds-checking.rs:1:1
|
|
|
|
|
|
|
|
|
LL | pub trait Clone2 {
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
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
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|