diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-04-14 17:41:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-14 17:41:04 -0400 |
| commit | 5d7467acf69223c6211f8e1a023fa8a73f4bacb9 (patch) | |
| tree | e19a1726a7ae73872cefae7fce02567e6083dcb2 /src/test/run-pass/thinlto | |
| parent | e6f6b445aa2fc71f626dff7f7c7988b04f4a292d (diff) | |
| parent | 63a291febac3ba2cb48787fed24388c2817ef4a2 (diff) | |
| download | rust-5d7467acf69223c6211f8e1a023fa8a73f4bacb9.tar.gz rust-5d7467acf69223c6211f8e1a023fa8a73f4bacb9.zip | |
Rollup merge of #41172 - Aaron1011:rustdoc-overflow, r=frewsxcv
Fix rustdoc infinitely recursing when an external crate reexports itself Previously, rustdoc's LibEmbargoVisitor unconditionally visited the child modules of an external crate. If a module re-exported its parent via `pub use super::*`, rustdoc would re-walk the parent, leading to infinite recursion. This commit makes LibEmbargoVisitor store already visited modules in an FxHashSet, ensuring that each module is only walked once. Fixes #40936
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
