about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-01-14 19:56:33 -0800
committerGitHub <noreply@github.com>2025-01-14 19:56:33 -0800
commit7c85da900335cc9e1d40605e2b52f62b433ed7b5 (patch)
treef4e5593dbdde8a6d330ec04a98636c3cd7d25bab /compiler/rustc_codegen_gcc
parentb998c297a7eda2a9e7863451b55291ec84a7a0f1 (diff)
parent516a93353d63ab9079e5ea5709f338f14d165272 (diff)
downloadrust-7c85da900335cc9e1d40605e2b52f62b433ed7b5.tar.gz
rust-7c85da900335cc9e1d40605e2b52f62b433ed7b5.zip
Rollup merge of #135380 - compiler-errors:mismatch-valtree, r=lcnr
Make sure we can produce `ConstArgHasWrongType` errors for valtree consts

I forgot about `ty::ConstKind::Value` in #134771.

The error message here could use some work -- both in the new trait solver and the old trait solver. But unrelated to the issue here.

Fixes https://github.com/rust-lang/rust/issues/135361 -- this was only ICEing in coherence because coherence uses the new trait solver, but I don't think the minimization is worth committing compared to the test I added.

r? ```@lcnr``` or ```@BoxyUwU```
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions