Skip to content

Not Found error for the hyperlink from rustc_middle::ty::TypeFlags to InternalBitFlags #143222

Open
@cushionbadak

Description

@cushionbadak

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.

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 crateA-docsArea: 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 issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions