about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-23 01:58:57 +0000
committerbors <bors@rust-lang.org>2025-08-23 01:58:57 +0000
commit78b89ebb6b20cf50370335e14c5357a4388ac760 (patch)
tree8afc9ca884751cc25e966f1c8bcc3adbe4b1de79 /compiler/rustc_parse/src/errors.rs
parent6545b056388a727c2ac4a4e70fb01d60a11398b1 (diff)
parent0327e2b87e0df215a41a4b8c367c28b3dbdb3b22 (diff)
downloadrust-78b89ebb6b20cf50370335e14c5357a4388ac760.tar.gz
rust-78b89ebb6b20cf50370335e14c5357a4388ac760.zip
Auto merge of #145469 - cjgillot:split-transmute, r=nnethercote
Split transmute check from HIR typeck

This resolves a FIXME in the implementation of `check_transmute`.

`check_transmute` needs to compute type layout, hence needing to see reveal opaques and all type aliases.
Having this inside typeck causes a cycle. For instance: `tests/ui/impl-trait/transmute/in-defining-scope.rs`.

This PR moves the transmute check outside of typeck, by putting the list of deferred transmute checks in typeck results.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions