about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-04 18:23:39 +0100
committerGitHub <noreply@github.com>2024-12-04 18:23:39 +0100
commite6d7ab2c3cd4646731e7e4d24f90da4062ae9ef5 (patch)
treefb03c0306acdf2744cf7439d935caa96a7b1db75 /compiler/rustc_interface/src
parent4b2d68dc3dda4dffd0fd89e36cbdabe3f4be1f7b (diff)
parent52d1c30d3ee692c47691c8c96dd62368af2de9c5 (diff)
downloadrust-e6d7ab2c3cd4646731e7e4d24f90da4062ae9ef5.tar.gz
rust-e6d7ab2c3cd4646731e7e4d24f90da4062ae9ef5.zip
Rollup merge of #133831 - BoxyUwU:ice_on_unfed_type_of, r=compiler-errors
Don't try and handle unfed `type_of` on anon consts

The `type_of` query for anon consts in the type system is actually implemented by feeding the return value during hir ty lowering, not the hir-based logic in `const_arg_anon_type_of`. The HIR based logic is incomplete (doesn't handle all hir nodes) and also generally wrong to call (re-lowers HIR or invokes typeck which can result in query cycles).

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions