about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-15 11:29:25 +0100
committerGitHub <noreply@github.com>2025-03-15 11:29:25 +0100
commita3840390538f2112ef0d3b7f4c5baee15d19c2da (patch)
treec07af41921dc0724f6509871f8684f6b2b7aaa9b /compiler/rustc_codegen_llvm/src/errors.rs
parentadea7cbc093434a527baa4c39df6a1f0c27341e6 (diff)
parent0160c60c7883910fbd9eb59dc2b7bad2b5a3e01a (diff)
downloadrust-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/errors.rs')
0 files changed, 0 insertions, 0 deletions