rust/tests/ui/traits/impl-bounds-checking.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
519 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0277]: the trait bound `isize: Clone2` is not satisfied
--> $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 {
| ^^^^^ the trait `Clone2` is not implemented for `isize`
|
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`.