fork/rust

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

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

master
462 B13 linesraw
1error[E0382]: use of partially moved value
2  --> $DIR/bind-by-move-no-subbindings-fun-param.rs:7:6
3   |
4LL | fn f(a @ A(u): A) -> Box<u8> {
5   |      ^     - value partially moved here
6   |      |
7   |      value used here after partial move
8   |
9   = note: partial move occurs because value has type `Box<u8>`, which does not implement the `Copy` trait
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0382`.