-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
rustdoc: Fix missing private inlining #109259
rustdoc: Fix missing private inlining #109259
Conversation
84c1a61
to
e9f29c4
Compare
@notriddle Good catch. I was able to reproduce the bug with inline module. Updated the test. |
@bors r+ rollup |
…-inlining, r=notriddle rustdoc: Fix missing private inlining Fixes rust-lang#109258. If the item isn't inlined, it shouldn't have been added into `view_item_stack`. The problem here was that it was not removed, preventing sub items to be inlined if they have a re-export in "upper levels". cc `@epage` r? `@notriddle`
…-inlining, r=notriddle rustdoc: Fix missing private inlining Fixes rust-lang#109258. If the item isn't inlined, it shouldn't have been added into `view_item_stack`. The problem here was that it was not removed, preventing sub items to be inlined if they have a re-export in "upper levels". cc ``@epage`` r? ``@notriddle``
…-inlining, r=notriddle rustdoc: Fix missing private inlining Fixes rust-lang#109258. If the item isn't inlined, it shouldn't have been added into `view_item_stack`. The problem here was that it was not removed, preventing sub items to be inlined if they have a re-export in "upper levels". cc ```@epage``` r? ```@notriddle```
@bors r- |
It's the only rustdoc PR in the rollup but I can't reproduce the CI failure locally and I don't really see why this test in particular would now fail. Quite surprising... Maybe it's a mix with another PR in the rollup that gave this result? |
I really can't figure out from my tests how it could make this error. Let's retry then. @bors r=notriddle |
…iaskrgr Rollup of 13 pull requests Successful merges: - rust-lang#109249 (Update names/comments for new return-position impl trait in trait lowering strategy) - rust-lang#109259 (rustdoc: Fix missing private inlining) - rust-lang#109269 (rustdoc: cleanup some intermediate allocs) - rust-lang#109301 (fix: fix ICE in `custom-test-frameworks` feature) - rust-lang#109319 (Add test for `c_variadic` in rustdoc-json) - rust-lang#109323 (Ignore files in .gitignore in mir opt check) - rust-lang#109331 (rustdoc: implement bag semantics for function parameter search) - rust-lang#109337 (Improve `Iterator::collect_into` documentation) - rust-lang#109351 (rustdoc: Remove footnote references from doc summary) - rust-lang#109353 (Fix wrong crate name in custom MIR docs) - rust-lang#109362 (Split `items` from `-Zmeta-stats` in two.) - rust-lang#109370 (fix ClashingExternDeclarations lint ICE) - rust-lang#109375 (rustdoc: Fix improper escaping of deprecation reasons) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #109258.
If the item isn't inlined, it shouldn't have been added into
view_item_stack
. The problem here was that it was not removed, preventing sub items to be inlined if they have a re-export in "upper levels".cc @epage
r? @notriddle