rust/tests
Esteban Küber a1a3abb08f When possible, suggest cloning the result of a call instead of an argument
```
error[E0505]: cannot move out of `a` because it is borrowed
  --> $DIR/variance-issue-20533.rs:28:14
   |
LL |         let a = AffineU32(1);
   |             - binding `a` declared here
LL |         let x = foo(&a);
   |                     -- borrow of `a` occurs here
LL |         drop(a);
   |              ^ move out of `a` occurs here
LL |         drop(x);
   |              - borrow later used here
   |
help: consider cloning the value if the performance cost is acceptable
   |
LL |         let x = foo(&a).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: synthetic auto: filter out clauses from the implementor's ParamEnv 2024-04-08 20:41:04 +02:00
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 When possible, suggest cloning the result of a call instead of an argument 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