diff options
| author | Lukas Markeffsky <@> | 2025-02-16 00:19:56 +0100 |
|---|---|---|
| committer | Lukas Markeffsky <@> | 2025-02-18 13:22:45 +0100 |
| commit | 7a667d206c45b96676c260030a4e3d9be1cc8495 (patch) | |
| tree | a12676a21792084d741d8dddec1e4ccb9c284c3c /compiler/rustc_parse/src | |
| parent | 802b7abab736166fcb12c2567c743e1da6d6806c (diff) | |
| download | rust-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
