about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-21 07:22:49 +0200
committerGitHub <noreply@github.com>2024-09-21 07:22:49 +0200
commitff6cd18a75619f438e971f1db3b1ec43e6659870 (patch)
tree2d0e9933e16dff006c1ddc6600ac80aa74a74032 /compiler/rustc_codegen_llvm/src/errors.rs
parent43366285f48a3e22ca48e5b4b6bce4632a751c4b (diff)
parentc0d1a1305d711912f40e325f2111e15fb0791eb1 (diff)
downloadrust-ff6cd18a75619f438e971f1db3b1ec43e6659870.tar.gz
rust-ff6cd18a75619f438e971f1db3b1ec43e6659870.zip
Rollup merge of #130644 - compiler-errors:consts-in-codegen, r=BoxyUwU
Only expect valtree consts in codegen

Turn a bunch of `Const::eval_*` calls into `Const::try_to_*` calls, which implicitly assert that we only have valtrees by the time we get to codegen.

r? `@BoxyUwU`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions