rust/tests
bors d14e52b47a Auto merge of #117884 - bvanjoi:fix-117794, r=compiler-errors
skip rpit constraint checker if borrowck return type error

Fixes #117794
Fixes #117886
Fixes #119025

Prior to change #117418, the value of `concrete_opaque_types` for `mir_borrock(T:🅰️:opaque)` was `None`. However, due to modifications in `body.local_decls`, the return value had been changed.

The changed of `body.local_decls` has let to the addition of `ty:Error` to `infcx.opaque_type_storage.opaque_types` during `TypeChecker::equate_inputs_and_outputs`. This is due to it utilizing the output of a function signature that was appended during `construct_error`(which previously only appended a `ty::Error`) and then execute `TypeChecker::Related_types`.

Therefore, in this PR, I've implemented a condition to bypass the rpit check when an error is encountered.

r? `@compiler-errors`
2023-12-17 16:28:37 +00:00
..
assembly
auxiliary
codegen Adapt debug-accessibility tests for msvc-style enums 2023-12-15 11:45:03 +00:00
codegen-units
coverage coverage: Regression test for assert!(!false) 2023-12-16 20:58:04 +11:00
coverage-run-rustdoc
debuginfo
incremental
mir-opt
pretty
run-make
run-make-fulldeps
run-pass-valgrind
rustdoc Rollup merge of #113091 - GuillaumeGomez:prevent-cfg-merge-reexport, r=rustdoc 2023-12-15 11:51:23 +01:00
rustdoc-gui Rollup merge of #118988 - notriddle:notriddle/varconst, r=GuillaumeGomez 2023-12-15 20:19:56 +01:00
rustdoc-js rustdoc-search: remove parallel searchWords array 2023-12-15 16:26:35 -07:00
rustdoc-js-std
rustdoc-json
rustdoc-ui
ui skip rpit constraint check if borrowck return type error 2023-12-17 16:49:00 +08:00
ui-fulldeps Add a method to check if type is a CStr 2023-12-15 13:18:41 -08:00
COMPILER_TESTS.md