fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
439 B13 linesraw
1error[E0382]: use of moved value
2  --> $DIR/bind-by-move-no-subbindings-fun-param.rs:10:12
3   |
4LL | fn f(a @ A(u): A) -> Box<u8> {
5   |      ------^-
6   |      |     |
7   |      |     value used here after move
8   |      value moved here
9   |      move occurs because value has type `A`, 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`.