diff options
author | bors <bors@rust-lang.org> | 2024-10-01 04:30:33 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2024-10-01 04:30:33 +0000 |
commit | 07f08ffb2dbc864d2127abedf7a5917b965c0a4b (patch) | |
tree | b579b11e0e9571be6526e16ff7b0a8342465e4e1 /tests/ui/const-generics/issues/issue-68366.min.stderr | |
parent | f79ef02e4bc87eb6dc8374cd4bde8e86f9695cf9 (diff) | |
parent | cd31b3acb3c963aff8d226030ac02379d741f3bd (diff) |
Auto merge of #131076 - lukas-code:doc-stab2, r=notriddle
rustdoc: rewrite stability inheritance as a doc pass
Since doc inlining can almost arbitrarily change the module hierarchy, we can't just use the HIR ancestors of an item to compute its effective stability. This PR moves the stability inheritance that I implemented in https://github.com/rust-lang/rust/pull/130798 into a new doc pass `propagate-stability` that runs after doc inlining and uses the post-inlining ancestors of an item to correctly compute its effective stability.
fixes https://github.com/rust-lang/rust/issues/131020
r? `@notriddle`
Diffstat (limited to 'tests/ui/const-generics/issues/issue-68366.min.stderr')
0 files changed, 0 insertions, 0 deletions