rust/tests
Matthias Krüger 1fd3ee0660
Rollup merge of #123066 - maurer:cfi-erased-lifetime-ice, r=compiler-errors
CFI: (actually) check that methods are object-safe before projecting their receivers to `dyn Trait` in CFI

`trait_object_ty` assumed that associated types would be fully determined by the trait. This is *almost* true - const parameters and type parameters are no longer allowed, but lifetime parameters are. Since we erase all lifetime parameters anyways, instantiate it with as many erased regions as it needs.

Fixes: #123053

r? `@compiler-errors`
2024-03-26 17:06:40 +01:00
..
assembly
auxiliary
codegen Don't emit load metadata in debug mode 2024-03-25 18:32:45 +00:00
codegen-units
coverage
coverage-run-rustdoc
debuginfo
incremental
mir-opt
pretty
run-make Auto merge of #111769 - saethlin:ctfe-backtrace-ctrlc, r=RalfJung 2024-03-26 00:04:03 +00:00
run-make-fulldeps
run-pass-valgrind
rustdoc
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui
ui Rollup merge of #123066 - maurer:cfi-erased-lifetime-ice, r=compiler-errors 2024-03-26 17:06:40 +01:00
ui-fulldeps
COMPILER_TESTS.md