rust/tests
Jacob Pratt bda326f40c
Rollup merge of #140607 - lcnr:opaque-type-storage, r=compiler-errors
support duplicate entries in the opaque_type_storage

Necessary for the new solver as we may unify keys when eagerly resolving for canonical queries. See the relevant comment when instantiating query responses:
```rust
            // We eagerly resolve inference variables when computing the query response.
            // This can cause previously distinct opaque type keys to now be structurally equal.
            //
            // To handle this, we store any duplicate entries in a separate list to check them
            // at the end of typeck/borrowck. We could alternatively eagerly equate the hidden
            // types here. However, doing so is difficult as it may result in nested goals and
            // any errors may make it harder to track the control flow for diagnostics.
            if let Some(prev) = prev {
                self.delegate.add_duplicate_opaque_type(key, prev, self.origin_span);
            }
```

This will be far more relevant with #140497.

r? `@compiler-errors`
2025-05-07 00:29:23 +00:00
..
assembly Rollup merge of #140194 - jieyouxu:minicore-force-unwind-tables, r=bjorn3 2025-04-24 11:40:42 +02:00
auxiliary stabilize naked_functions 2025-04-20 11:18:38 +02:00
codegen Rollup merge of #140457 - fneddy:fix_s390x_codegen_const_vector, r=Mark-Simulacrum 2025-05-04 18:11:48 -04:00
codegen-units Remove -Zinline-in-all-cgus and clean up CGU partitioning tests 2025-01-27 23:48:47 -05:00
coverage coverage: Only merge adjacent coverage spans 2025-05-06 20:42:25 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes Be a bit more relaxed about not yet constrained infer vars in closure upvar analysis 2025-05-05 19:06:45 +00:00
debuginfo Rollup merge of #138599 - adwinwhite:recursive-overflow, r=wesleywiser 2025-04-18 05:17:53 +02:00
incremental compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
mir-opt coverage: Only merge adjacent coverage spans 2025-05-06 20:42:25 +10:00
pretty Improve hir pretty-printing of attributes. 2025-05-03 12:46:48 +10:00
run-make Rollup merge of #139550 - Urgau:rmeta-remap-path-scope, r=nnethercote 2025-05-06 16:28:38 +10:00
rustdoc Created tests/rustdoc/async subfolder to limit number of files at the top level 2025-05-05 17:49:12 +02:00
rustdoc-gui Rollup merge of #140135 - GuillaumeGomez:sidebars-image, r=rustdoc 2025-05-06 14:50:45 +02:00
rustdoc-js rustdoc-search: add unbox flag to Result aliases 2025-04-11 11:36:40 -07:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json Improve hir pretty-printing of attributes. 2025-05-03 12:46:48 +10:00
rustdoc-ui compiletest: Support matching on non-json lines in compiler output 2025-05-04 18:27:45 +03:00
ui Rollup merge of #140607 - lcnr:opaque-type-storage, r=compiler-errors 2025-05-07 00:29:23 +00:00
ui-fulldeps Auto merge of #140453 - Zoxc:next-disambiguator, r=oli-obk 2025-05-05 11:50:43 +00:00
COMPILER_TESTS.md