rust/tests
Trevor Gross a2178dffc8
Rollup merge of #127687 - RalfJung:pattern-cleanup, r=oli-obk,lcnr
Const-to-pattern-to-MIR cleanup

Now that all uses of constants without structural equality are hard errors, there's a bunch of cleanup we can do in the code that handles patterns: we can always funnel patterns through valtrees first (rather than having a fallback path for when valtree construction fails), and we can make sure that if we emit a `PartialEq` call it is not calling anything user-defined.

To keep the error messages the same, I made valtree construction failures return the information of *which* type it is that cannot be valtree'd. `search_for_structural_match_violation` is now not needed any more at all, so I removed it.

r? `@oli-obk`
2024-07-18 05:14:05 -05:00
..
assembly Auto merge of #123351 - beetrees:x86-ret-snan-rust, r=nikic,workingjubilee 2024-07-12 20:36:43 +00:00
auxiliary
codegen Auto merge of #123351 - beetrees:x86-ret-snan-rust, r=nikic,workingjubilee 2024-07-12 20:36:43 +00:00
codegen-units Avoid MIR bloat in inlining 2024-07-01 05:17:13 -07:00
coverage Bless coverage. 2024-07-13 12:02:12 +00:00
coverage-run-rustdoc coverage: Extract hole spans from HIR instead of MIR 2024-07-08 21:22:56 +10:00
crashes Make sure trait def ids match before zipping args in note_function_argument_obligation 2024-07-15 17:53:22 -04:00
debuginfo Add Natvis visualiser and debuginfo tests for f16 2024-07-09 03:47:50 +01:00
incremental Auto merge of #126409 - pacak:incr-uplorry, r=michaelwoerister 2024-06-20 09:06:16 +00:00
mir-opt Rollup merge of #127337 - celinval:intrinsics-fallback, r=oli-obk 2024-07-17 16:22:28 +02:00
pretty Mark format! with must_use hint 2024-07-06 14:24:20 +02:00
run-make Rollup merge of #127491 - Oneirical:bulletproof-test, r=jieyouxu 2024-07-18 05:14:04 -05:00
run-pass-valgrind
rustdoc Rollup merge of #127671 - notriddle:notriddle/issue-d, r=Mark-Simulacrum 2024-07-13 20:19:48 -07:00
rustdoc-gui rustdoc: add test cases for mile wide bar 2024-07-16 13:29:35 -07:00
rustdoc-js
rustdoc-js-std
rustdoc-json Add rustdoc-json support for use<> 2024-07-12 05:24:51 -04:00
rustdoc-ui Rollup merge of #127878 - estebank:assoc-item-removal, r=fmease 2024-07-18 08:09:01 +02:00
ui avoid creating an Instance only to immediately disassemble it again 2024-07-18 11:58:16 +02:00
ui-fulldeps Always use a colon in //@ normalize-*: headers 2024-07-11 12:23:44 +10:00
COMPILER_TESTS.md