Matthias Krüger
a384039053
Rollup merge of #138283 - compiler-errors:enforce-const-param, r=BoxyUwU
...
Enforce type of const param correctly in MIR typeck
Properly intercepts and then annotates the type for a `ConstKind::Param` in the MIR.
This code should probably be cleaned up, it's kinda spaghetti, but no better structure really occurred to me when writing this case.
We could probably gate this behind the feature gate or add a fast path when the args have no free regions if perf is bad.
r? `@BoxyUwU`
2025-03-15 11:29:25 +01:00
..
2024-07-17 11:01:29 +01:00
2024-08-16 08:37:19 +08:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2025-03-14 03:10:19 +00:00
2025-03-14 03:10:19 +00:00
2024-07-17 11:01:29 +01:00
2024-10-29 16:26:57 +00:00
2024-07-17 11:01:29 +01:00
2024-11-02 03:08:04 +00:00
2024-10-10 01:13:29 +02:00
2025-02-10 20:21:39 +00:00
2024-07-17 11:01:29 +01:00
2024-10-29 16:26:57 +00:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2025-03-14 19:50:03 +00:00
2024-07-17 11:01:29 +01:00
2025-03-14 19:50:03 +00:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2025-03-14 19:50:03 +00:00
2024-11-12 02:54:03 +00:00
2024-11-12 02:54:03 +00:00
2024-11-12 02:54:03 +00:00
2024-11-12 02:54:03 +00:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-09-29 23:40:43 -05:00
2024-07-17 11:01:29 +01:00
2024-07-17 11:01:29 +01:00
2024-08-27 14:05:54 +00:00
2024-08-27 14:05:54 +00:00
2024-07-17 11:01:29 +01:00
2025-03-14 19:50:03 +00:00
2024-07-17 11:01:29 +01:00
2025-03-14 19:50:03 +00:00
2024-08-05 17:37:12 -07:00
2025-03-14 19:50:03 +00:00