diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-15 11:29:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-15 11:29:25 +0100 |
| commit | a3840390538f2112ef0d3b7f4c5baee15d19c2da (patch) | |
| tree | c07af41921dc0724f6509871f8684f6b2b7aaa9b /compiler/rustc_codegen_llvm/src | |
| parent | adea7cbc093434a527baa4c39df6a1f0c27341e6 (diff) | |
| parent | 0160c60c7883910fbd9eb59dc2b7bad2b5a3e01a (diff) | |
| download | rust-a3840390538f2112ef0d3b7f4c5baee15d19c2da.tar.gz rust-a3840390538f2112ef0d3b7f4c5baee15d19c2da.zip | |
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
