Rollup merge of #95645 - GuillaumeGomez:intra-doc-link-ice-traits-in-scope-primitive, r=jyn514
Fix intra doc link ICE when trying to get traits in scope for primitive Fixes #95633. I think ``@notriddle`` was the one who worked on this part of the code last so: r? ``@notriddle``
This commit is contained in:
commit
bf44a87732
3 changed files with 18 additions and 2 deletions
7
src/test/rustdoc/issue-95633.rs
Normal file
7
src/test/rustdoc/issue-95633.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// compile-flags: --document-private-items
|
||||
|
||||
// This ensures that no ICE is triggered when rustdoc is run on this code.
|
||||
|
||||
mod stdlib {
|
||||
pub (crate) use std::i8;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue