Files
rust/tests/ui/issues
许杰友 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
..
2024-02-07 10:42:01 +08:00
2024-01-05 10:00:59 +00:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2023-01-11 14:40:02 -08:00
2023-12-20 22:53:56 -05:00
2025-02-04 10:57:49 +00:00
2025-02-03 19:00:22 +00:00
2024-02-07 10:42:01 +08:00
2024-01-13 12:46:58 -05:00
2024-07-06 14:24:20 +02:00
2023-05-01 16:15:13 +08:00
2024-02-07 10:42:01 +08:00
2023-11-16 17:00:23 +00:00
2023-04-08 21:32:55 +00:00
2024-01-05 10:00:59 +00:00
2024-01-13 12:46:58 -05:00
2023-11-16 17:00:23 +00:00
2024-02-07 10:42:01 +08:00
2024-07-10 17:15:02 -04:00
2024-07-10 17:15:02 -04:00
2024-04-29 14:53:38 +02:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2024-11-22 02:32:26 +00:00
2024-11-22 02:32:26 +00:00
2023-06-26 08:56:32 +00:00
2025-02-14 00:37:23 +01:00
2025-02-14 00:37:23 +01:00
2023-11-24 21:04:51 +01:00
2024-04-22 18:48:47 +02:00