fork/rust

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

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

master
607 B18 linesraw
1error[E0277]: the trait bound `String: Copy` is not satisfied
2  --> $DIR/trivially-unsatisfied-bounds-0.rs:11:13
3   |
4LL |     let _ = UNUSABLE;
5   |             ^^^^^^^^ the trait `Copy` is not implemented for `String`
6   |
7note: required by a bound in `UNUSABLE`
8  --> $DIR/trivially-unsatisfied-bounds-0.rs:8:13
9   |
10LL | const UNUSABLE: () = ()
11   |       -------- required by a bound in this constant
12LL | where
13LL |     String: Copy;
14   |             ^^^^ required by this bound in `UNUSABLE`
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0277`.