Files
rust/tests/ui/const-generics
许杰友 Jieyou Xu (Joe) 5df9a9f45c Rollup merge of #137298 - compiler-errors:mir-wf, r=lcnr
Check signature WF when lowering MIR body

Alternative to #137233.

https://github.com/rust-lang/rust/pull/137233#issuecomment-2667879143

Fixes https://github.com/rust-lang/rust/issues/137186

We do this check in `mir_drops_elaborated_and_const_checked` and not during `mir_promoted` because that may result in borrowck cycles if WF requires looking into an opaque hidden type. This causes some TAIT tests to fail unnecessarily.

r? lcnr

try-job: test-various
2025-03-05 21:46:39 +08:00
..
2025-02-14 00:37:23 +01:00
2025-02-14 00:37:23 +01:00
2024-10-14 20:24:30 +02:00
2025-01-30 20:37:56 -07:00
2024-02-07 10:42:01 +08:00
2024-09-07 09:23:28 +08:00
2024-10-04 23:38:41 +00:00