rust/tests
Matthias Krüger 4cf4196907
Rollup merge of #128172 - compiler-errors:non-self-arg, r=chenyukang
Don't ICE if HIR and middle types disagree in borrowck error reporting

We try to match up the `middle::ty::Ty` and `hir::Ty` types in borrowck error reporting, but due to things like `Self` self type alias, or regular type aliases, these might not match up. Don't ICE.

This PR also tries to recover the error by looking up the self type of the impl in case we see `Self`. The diagnostic is frankly quite confusing, but I also didn't really want to look at it because I don't understand the conflict error reporting logic. 🤷

Fixes #121816
2024-07-25 16:48:21 +02:00
..
assembly Add NuttX based targets for RISC-V and ARM 2024-07-19 22:00:42 +08:00
auxiliary
codegen Auto merge of #127715 - klensy:tests-w, r=Mark-Simulacrum 2024-07-21 03:06:32 +00:00
codegen-units
coverage Bless coverage. 2024-07-13 12:02:12 +00:00
coverage-run-rustdoc
crashes Rollup merge of #128172 - compiler-errors:non-self-arg, r=chenyukang 2024-07-25 16:48:21 +02:00
debuginfo
incremental
mir-opt Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-errors 2024-07-21 05:36:21 +00:00
pretty
run-make Auto merge of #128102 - Oneirical:real-testate, r=Kobzol 2024-07-25 12:09:24 +00:00
run-pass-valgrind
rustdoc Auto merge of #120812 - compiler-errors:impl-sorting, r=lcnr 2024-07-21 22:43:47 +00:00
rustdoc-gui Add regression test for items list size (#128023) 2024-07-22 11:33:03 +02:00
rustdoc-js
rustdoc-js-std
rustdoc-json Update all rustdoc-json/ tests to use the new style 2024-07-19 16:54:42 +02:00
rustdoc-ui Rollup merge of #128111 - estebank:no-question, r=fmease 2024-07-25 04:43:20 +02:00
ui Rollup merge of #128172 - compiler-errors:non-self-arg, r=chenyukang 2024-07-25 16:48:21 +02:00
ui-fulldeps Do not use question as label 2024-07-24 21:03:27 +00:00
COMPILER_TESTS.md