about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorLukas Markeffsky <@>2025-02-16 00:19:56 +0100
committerLukas Markeffsky <@>2025-02-18 13:22:45 +0100
commit7a667d206c45b96676c260030a4e3d9be1cc8495 (patch)
treea12676a21792084d741d8dddec1e4ccb9c284c3c /compiler/rustc_parse/src
parent802b7abab736166fcb12c2567c743e1da6d6806c (diff)
downloadrust-7a667d206c45b96676c260030a4e3d9be1cc8495.tar.gz
rust-7a667d206c45b96676c260030a4e3d9be1cc8495.zip
remove unreachable cases
`ty::Placeholder` is used by the trait solver and computing its layout
was necessary, because the `PointerLike` trait used to be automatically
implemented for all types with pointer-like layout.
Nowadays, `PointerLike` requires user-written impls and the trait solver
no longer computes any layouts, so this can be removed.

Unevaluated constants that aren't generic should have caused a const eval
error earlier during normalization.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions