rust/tests
Esteban Küber 065454dd1d More move error suggestions to clone
```
error[E0507]: cannot move out of `val`, a captured variable in an `FnMut` closure
  --> $DIR/issue-87456-point-to-closure.rs:10:28
   |
LL |     let val = String::new();
   |         --- captured outer variable
LL |
LL |     take_mut(|| {
   |              -- captured by this `FnMut` closure
LL |
LL |         let _foo: String = val;
   |                            ^^^ move occurs because `val` has type `String`, which does not implement the `Copy` trait
   |
help: consider borrowing here
   |
LL |         let _foo: String = &val;
   |                            +
help: consider cloning the value if the performance cost is acceptable
   |
LL |         let _foo: String = val.clone();
   |                               ++++++++
```
2024-04-11 16:41:41 +00:00
..
assembly
auxiliary
codegen Auto merge of #123185 - scottmcm:more-typed-copy, r=compiler-errors 2024-04-10 16:32:41 +00:00
codegen-units
coverage
coverage-run-rustdoc
debuginfo
incremental
mir-opt Auto merge of #122387 - DianQK:re-enable-early-otherwise-branch, r=cjgillot 2024-04-09 01:02:29 +00:00
pretty
run-make Rollup merge of #123612 - kxxt:riscv-target-abi, r=jieyouxu,nikic,DianQK 2024-04-10 04:27:40 +02:00
run-make-fulldeps
run-pass-valgrind
rustdoc
rustdoc-gui rustdoc: update test cases 2024-04-09 20:22:13 -07:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui tests: bless ui and rustdoc-ui tests for ICE messages 2024-04-09 13:58:52 +00:00
ui More move error suggestions to clone 2024-04-11 16:41:41 +00:00
ui-fulldeps Rollup merge of #123659 - celinval:smir-fix-intrinsic, r=oli-obk 2024-04-10 16:15:23 +02:00
COMPILER_TESTS.md