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

Allow for a missing adt_def in NamePrivacyVisitor. #121482

Merged
merged 1 commit into from
Feb 23, 2024

Commits on Feb 22, 2024

  1. Allow for a missing adt_def in NamePrivacyVisitor.

    This was caused by 72b172b in rust-lang#121206. That commit removed an early
    return from `analysis` when there are stashed errors. As a result, it's
    possible to reach privacy analysis when there are stashed errors, which
    means more code paths can be reached. One such code path was handled in
    that commit, where a `span_bug` was changed to a `span_delayed_bug`.
    
    This commit handles another such code path uncovered by fuzzing, in much
    the same way.
    
    Fixes rust-lang#121455.
    nnethercote committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    21bb1a4 View commit details
    Browse the repository at this point in the history