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:
Dylan DPC 2022-04-05 09:33:24 +02:00 committed by GitHub
commit bf44a87732
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 2 deletions

View 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;
}