rust/tests
bors 871b595202 Auto merge of #111913 - oli-obk:valtrees2, r=lcnr
Only rewrite valtree-constants to patterns and keep other constants opaque

Now that we can reliably fall back to comparing constants with `PartialEq::eq` to the match scrutinee, we can

1. eagerly try to convert constants to valtrees
2. then deeply convert the valtree to a pattern
3. if the to-valtree conversion failed, create an "opaque constant" pattern.

This PR specifically avoids any behavioral changes or major cleanups. What we can now do as follow ups is

* move the two remaining call sites to `destructure_mir_constant` off that query
* make valtree to pattern conversion infallible
    * this needs to be done after careful analysis of the effects. There may be user visible changes from that.

based on https://github.com/rust-lang/rust/pull/111768
2023-05-31 16:36:51 +00:00
..
assembly Fix linkage for large binaries on mips64 platforms ... 2023-05-29 10:57:03 -06:00
auxiliary
codegen Auto merge of #111913 - oli-obk:valtrees2, r=lcnr 2023-05-31 16:36:51 +00:00
codegen-units
debuginfo
incremental Only rewrite valtree-constants to patterns and keep other constants opaque 2023-05-31 14:02:57 +00:00
mir-opt Only rewrite valtree-constants to patterns and keep other constants opaque 2023-05-31 14:02:57 +00:00
pretty
run-make Auto merge of #86844 - bjorn3:global_alloc_improvements, r=pnkfelix 2023-05-25 16:59:57 +00:00
run-make-fulldeps Move BodyWithBorrowckFacts to consumers 2023-05-23 14:36:36 +02:00
run-pass-valgrind
rustdoc Add regression test for re-export of doc hidden item inside private item not displayed 2023-05-30 20:27:53 +02:00
rustdoc-gui Rollup merge of #112064 - GuillaumeGomez:migrate-gui-test-color-9, r=notriddle 2023-05-30 12:57:40 +02:00
rustdoc-js
rustdoc-js-std
rustdoc-json Serialize all enums as externally tagged to guarantee compatibility with binary formats such as bincode or postcard 2023-05-22 18:22:08 +01:00
rustdoc-ui rustdoc: get unnormalized link destination for suggestions 2023-05-26 18:38:46 -07:00
ui Auto merge of #111913 - oli-obk:valtrees2, r=lcnr 2023-05-31 16:36:51 +00:00
ui-fulldeps Use Cow in {D,Subd}iagnosticMessage. 2023-05-29 09:23:43 +10:00
COMPILER_TESTS.md