rust/tests
Matthias Krüger fbc121fdfd
Rollup merge of #104363 - WaffleLapkin:bonk_box_new, r=Nilstrieb
Make `unused_allocation` lint against `Box::new` too

Previously it only linted against `box` syntax, which likely won't ever be stabilized, which is pretty useless. Even now I'm not sure if it's a meaningful lint, but it's at least something 🤷

This means that code like the following will be linted against:
```rust
Box::new([1, 2, 3]).len();
f(&Box::new(1)); // where f : &i32 -> ()
```
The lint works by checking if a `Box::new` (or `box`) expression has an a borrow adjustment, meaning that the code that first stores the box in a variable won't be linted against:
```rust
let boxed = Box::new([1, 2, 3]); // no lint
boxed.len();
```
2023-03-11 15:43:11 +01:00
..
assembly Update the minimum external LLVM to 14 2023-02-10 16:06:25 -08:00
auxiliary
codegen Auto merge of #108763 - scottmcm:indexing-nuw-lengths, r=cuviper 2023-03-07 13:17:59 +00:00
codegen-units
debuginfo Remove the capture_disjoint_fields feature 2023-02-28 01:21:15 +00:00
incremental
mir-opt Introduce a no-op PlaceMention statement for let _ =. 2023-03-09 17:45:13 +00:00
pretty Update tests. 2023-01-29 20:19:26 +01:00
run-make Update coverage info. 2023-03-09 17:51:38 +00:00
run-make-fulldeps rustdoc: fix test case for custom themes 2023-03-08 12:49:35 -07:00
run-pass-valgrind
rustdoc Rollup merge of #108936 - GuillaumeGomez:rustdoc-anonymous-reexport, r=notriddle 2023-03-10 12:31:58 +01:00
rustdoc-gui Rollup merge of #106915 - notriddle:notriddle/load-only-one-theme, r=GuillaumeGomez,jsha 2023-03-09 12:11:52 +01:00
rustdoc-js rustdoc: function signature search with traits in where clause 2023-03-04 09:05:57 -07:00
rustdoc-js-std Rollup merge of #108723 - notriddle:notriddle/where-clause, r=GuillaumeGomez 2023-03-04 20:48:18 +01:00
rustdoc-json Add regression test for #107677 2023-02-18 18:28:17 +01:00
rustdoc-ui Add unstable option new_rpitit to be used for new RPITIT lowering system 2023-03-01 12:56:39 -03:00
ui Rollup merge of #104363 - WaffleLapkin:bonk_box_new, r=Nilstrieb 2023-03-11 15:43:11 +01:00
ui-fulldeps Rollup merge of #108846 - celinval:smir-poc, r=oli-obk 2023-03-08 21:24:50 +01:00
COMPILER_TESTS.md