rust/compiler/rustc_privacy
Nicholas Nethercote 21bb1a4359 Allow for a missing adt_def in NamePrivacyVisitor.
This was caused by 72b172bdf6 in #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 #121455.
2024-02-23 10:57:11 +11:00
..
src Allow for a missing adt_def in NamePrivacyVisitor. 2024-02-23 10:57:11 +11:00
Cargo.toml Stop using hir_ty_to_ty in rustc_privacy 2024-02-07 14:59:26 +00:00
messages.ftl