Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an ErrorGuaranteed to ast::TyKind::Err (attempt 2) #121109

Merged
merged 1 commit into from
Feb 16, 2024

Commits on Feb 14, 2024

  1. 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.
    nnethercote committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    5233bc9 View commit details
    Browse the repository at this point in the history