about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-09 14:34:41 +0100
committerGitHub <noreply@github.com>2025-01-09 14:34:41 +0100
commit8ff355aefe79a5755fdd166f4253978a47375a00 (patch)
treea31ac89a87fee80dbf1522755d1626dbbd2f4af0 /compiler/rustc_codegen_gcc
parentd487294ffd4966e1ee1b788597a23e510dc63f08 (diff)
parent84c8d4f52d5be135e2dec89379cb1d0f67be648c (diff)
downloadrust-8ff355aefe79a5755fdd166f4253978a47375a00.tar.gz
rust-8ff355aefe79a5755fdd166f4253978a47375a00.zip
Rollup merge of #135195 - oli-obk:push-toyoyrupruko, r=lcnr
Make `lit_to_mir_constant` and `lit_to_const` infallible

My motivation for this change is just that it's annoying to check everywhere, especially since all but one call site was just ICEing on errors anyway right there.

They can still fail, but now just return an error constant instead of having the caller handle the error.

fixes #114317
fixes #126182
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions