rust/tests
Matthias Krüger cea5ae00d2
Rollup merge of #112810 - compiler-errors:dont-ice-on-bad-layout, r=wesleywiser
Don't ICE on unnormalized struct tail in layout computation

1. We try to compute a `SizeSkeleton` even if a layout error occurs, but we really only need to do this if we get `LayoutError::Unknown`, since that means our type is too polymorphic to actually compute the full layout. If we have other errors, like `LayoutError::NormalizationError` or `LayoutError::Cycle`, then we can't really make any progress, since this represents an actual error.
2. Avoid using `normalize_erasing_regions` and `struct_tail_erasing_lifetimes` since those ICE on normalization errors, and since we may call `layout_of` in HIR typeck, we don't know for certain that we're on the happy path.

Fixes #112736
2023-06-23 19:39:58 +02:00
..
assembly remove box_free and replace with drop impl 2023-06-16 13:41:06 -07:00
auxiliary
codegen Rollup merge of #112616 - ferrocene:pa-more-test-suite-fixes, r=Nilstrieb 2023-06-23 19:39:57 +02:00
codegen-units
debuginfo Add multiple borrow test. 2023-05-13 10:32:32 +00:00
incremental Implement custom diagnostic for ConstParamTy 2023-06-01 18:21:42 +00:00
mir-opt Auto merge of #111684 - ChayimFriedman2:unused-offset-of, r=WaffleLapkin 2023-06-21 16:40:54 +00:00
pretty
run-make Rollup merge of #112794 - bjorn3:fix_lib_global_alloc, r=oli-obk 2023-06-20 14:23:41 +02:00
run-make-fulldeps Remove Queries::ongoing_codegen. 2023-06-21 11:29:45 +10:00
run-pass-valgrind
rustdoc Rollup merge of #112927 - GuillaumeGomez:where-clause-indent, r=notriddle 2023-06-23 13:18:13 +02:00
rustdoc-gui Fix GUI test for popover 2023-06-23 19:34:37 +02:00
rustdoc-js Auto merge of #112233 - notriddle:notriddle/search-unify, r=GuillaumeGomez 2023-06-15 03:04:46 +00:00
rustdoc-js-std Auto merge of #112233 - notriddle:notriddle/search-unify, r=GuillaumeGomez 2023-06-15 03:04:46 +00:00
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 Rollup merge of #112810 - compiler-errors:dont-ice-on-bad-layout, r=wesleywiser 2023-06-23 19:39:58 +02:00
ui-fulldeps Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
COMPILER_TESTS.md