diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-23 10:47:53 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-23 10:57:11 +1100 |
| commit | 21bb1a435907294e50a95359fedcf5ebd5de1959 (patch) | |
| tree | f67d87134d65a752f531c8fe7e2b45c923cb24da /tests/rustdoc-js-std/return-specific.js | |
| parent | c5f69bdd5173a948e0131f934fa7c4cbf5e0b55f (diff) | |
| download | rust-21bb1a435907294e50a95359fedcf5ebd5de1959.tar.gz rust-21bb1a435907294e50a95359fedcf5ebd5de1959.zip | |
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.
Diffstat (limited to 'tests/rustdoc-js-std/return-specific.js')
0 files changed, 0 insertions, 0 deletions
