fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
670 B20 linesraw
1error[E0277]: the trait bound `isize: Clone2` is not satisfied
2  --> $DIR/impl-bounds-checking.rs:10:24
3   |
4LL | impl Getter<isize> for isize {
5   |                        ^^^^^ the trait `Clone2` is not implemented for `isize`
6   |
7help: this trait has no implementations, consider adding one
8  --> $DIR/impl-bounds-checking.rs:1:1
9   |
10LL | pub trait Clone2 {
11   | ^^^^^^^^^^^^^^^^
12note: required by a bound in `Getter`
13  --> $DIR/impl-bounds-checking.rs:6:17
14   |
15LL | trait Getter<T: Clone2> {
16   |                 ^^^^^^ required by this bound in `Getter`
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0277`.