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
commitd2aa1beed775e09a7f79f3a7761feece92572bf1 (patch)
tree1b074777b936eeda6f425adfb24b687e54109fcc /tests/codegen/patchable-function-entry
parentb3b9f31a869326bcd623c84fd230777f397847f3 (diff)
downloadrust-d2aa1beed775e09a7f79f3a7761feece92572bf1.tar.gz
rust-d2aa1beed775e09a7f79f3a7761feece92572bf1.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