-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Open
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Location
When press InternalBitFlags
type hyperlink in https://doc.rust-lang.org/stable/nightly-rustc/rustc_middle/ty/struct.TypeFlags.html
Summary
The hyperlink links to https://doc.rust-lang.org/stable/nightly-rustc/rustc_type_ir/flags/_/struct.InternalBitFlags.html , which is broken.
The document is rendered like this:
pub struct TypeFlags([InternalBitFlags](https://doc.rust-lang.org/stable/nightly-rustc/rustc_type_ir/flags/_/struct.InternalBitFlags.html));
I guess InternalBitFlags
has no dedicated type definition, as TypeFlags
itself is a struct, not containing other type.
rust/compiler/rustc_type_ir/src/flags.rs
Lines 11 to 19 in 35f6036
pub struct TypeFlags: u32 { | |
// Does this have parameters? Used to determine whether instantiation is | |
// required. | |
/// Does this have `Param`? | |
const HAS_TY_PARAM = 1 << 0; | |
/// Does this have `ReEarlyParam`? | |
const HAS_RE_PARAM = 1 << 1; | |
/// Does this have `ConstKind::Param`? | |
const HAS_CT_PARAM = 1 << 2; |
Metadata
Metadata
Assignees
Labels
A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateArea: Documentation that has been re-exported from a different crateA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.