about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-14 14:50:49 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-15 09:35:11 +1100
commit6674be96570d63b460c36869d6edd5d590356290 (patch)
tree59ec6878abec6d885a88028e3b222701cfbc5bf9 /tests/codegen/patchable-function-entry
parente504c64a41c7a8e3972bde99a0513a1113b22ba9 (diff)
downloadrust-6674be96570d63b460c36869d6edd5d590356290.tar.gz
rust-6674be96570d63b460c36869d6edd5d590356290.zip
Add an `ErrorGuaranteed` to `ast::TyKind::Err`.
This makes it more like `hir::TyKind::Err`, and avoids a
`span_delayed_bug` call in `LoweringContext::lower_ty_direct`.

It also requires adding `ast::TyKind::Dummy`, now that
`ast::TyKind::Err` can't be used for that purpose in the absence of an
error emission.

There are a couple of cases that aren't as neat as I would have liked,
marked with `FIXME` comments.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions