about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-01 01:19:21 +0100
committerGitHub <noreply@github.com>2025-02-01 01:19:21 +0100
commit47e6684e53d48d8142ec30a4ba1534fa3ae57649 (patch)
tree29fb7bbfed353897a45ead757f96f7a7d08ddaa5 /compiler/rustc_query_impl/src
parent4b310be0d186aaa13f218dd40e656909eba9c869 (diff)
parentc64038a51fbf7554fef717360b98454548adb908 (diff)
downloadrust-47e6684e53d48d8142ec30a4ba1534fa3ae57649.tar.gz
rust-47e6684e53d48d8142ec30a4ba1534fa3ae57649.zip
Rollup merge of #136314 - compiler-errors:const-deref-adj, r=fee1-dead
Use proper type when applying deref adjustment in const

When applying a deref adjustment to some type `Wrap<T>` which derefs to `T`, we were checking that `T: ~const Deref`, not `Wrap<T>: ~const Deref` like we should have been.

r? project-const-traits

Fixes #136273
Fixes #135210 -- I just deleted the test since the regression test is uninteresting
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions