rust/tests
bors f0411ffceb Auto merge of #111881 - lcnr:leak-check, r=nikomatsakis,jackh726
refactor and cleanup the leak check, add it to new solver

ended up being a bit more involved than I wanted but is hopefully still easy enough to review as a single PR, can split it into separate ones otherwise.

this can be reviewed commit by commit:
a473d55cdb9284aa2b01282d1b529a2a4d26547b 31a686646534ca006d906ec757ece4e771d6f973 949039c107852a5e36361c08b62821a0613656f5 242917bf5170d9a723c6c8e23e9d9d0c2fa8dc9d ed2b25a7aa28be3184be9e3022c2796a30eaad87 are all pretty straightforward.

03dd83b4c3f4ff27558f5c8ab859bd9f83db1d04 makes it easier to refactor coherence in a later commit, see the commit description, cc `@oli-obk`

4fe311d807a77b6270f384e41689bf5d58f46aec I don't quite remember what we wanted to test here, this definitely doesn't test that the occurs check doesn't cause incorrect errors in coherence, also cc `@oli-obk` here. I may end up writing a new test for this myself later.

5c200d88a91b75bd0875b973150655bd581ef97a is the main refactor of the leak check, changing it to take the `outer_universe` instead of getting it from a snapshot. Using a snapshot requires us to be in a probe which we aren't in the new solver, it also just feels dirty as snapshots don't really have anything to do with universes.

with all of this cfc230d54188d9c7ed867a9a0d1f51be77b485f9 is now kind of trivial.

r? `@nikomatsakis`
2023-05-30 18:48:12 +00:00
..
assembly Also assume wrap-around discriminants in as MIR building 2023-05-18 10:28:36 -07:00
auxiliary
codegen Auto merge of #111768 - oli-obk:pair_const_llvm, r=cjgillot 2023-05-30 10:31:10 +00:00
codegen-units
debuginfo
incremental Add a test for issue 110457 2023-05-29 13:49:20 +00:00
mir-opt Make TrustedStep require Copy 2023-05-29 13:19:47 -07: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 Rollup merge of #111997 - GuillaumeGomez:re-export-doc-hidden-macros, r=notriddle 2023-05-27 13:38:33 +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 #111881 - lcnr:leak-check, r=nikomatsakis,jackh726 2023-05-30 18:48:12 +00:00
ui-fulldeps Use Cow in {D,Subd}iagnosticMessage. 2023-05-29 09:23:43 +10:00
COMPILER_TESTS.md