Skip to content

Commit 3193af4

Browse files
authored
Unrolled build for #150666
Rollup merge of #150666 - reddevilmidzy:fix-link, r=BoxyUwU Fix ambig-unambig-ty-and-consts link cc: rust-lang/rustc-dev-guide#2677
2 parents f8b1d59 + 7c02e3c commit 3193af4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

compiler/rustc_hir/src/hir.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ impl<'hir> ConstItemRhs<'hir> {
440440
/// versus const args that are literals or have arbitrary computations (e.g., `{ 1 + 3 }`).
441441
///
442442
/// For an explanation of the `Unambig` generic parameter see the dev-guide:
443-
/// <https://rustc-dev-guide.rust-lang.org/hir/ambig-unambig-ty-and-consts.html>
443+
/// <https://rustc-dev-guide.rust-lang.org/ambig-unambig-ty-and-consts.html>
444444
#[derive(Clone, Copy, Debug, HashStable_Generic)]
445445
#[repr(C)]
446446
pub struct ConstArg<'hir, Unambig = ()> {
@@ -3374,7 +3374,7 @@ pub enum AmbigArg {}
33743374
/// Represents a type in the `HIR`.
33753375
///
33763376
/// For an explanation of the `Unambig` generic parameter see the dev-guide:
3377-
/// <https://rustc-dev-guide.rust-lang.org/hir/ambig-unambig-ty-and-consts.html>
3377+
/// <https://rustc-dev-guide.rust-lang.org/ambig-unambig-ty-and-consts.html>
33783378
#[derive(Debug, Clone, Copy, HashStable_Generic)]
33793379
#[repr(C)]
33803380
pub struct Ty<'hir, Unambig = ()> {
@@ -3713,7 +3713,7 @@ pub enum InferDelegationKind {
37133713
/// The various kinds of types recognized by the compiler.
37143714
///
37153715
/// For an explanation of the `Unambig` generic parameter see the dev-guide:
3716-
/// <https://rustc-dev-guide.rust-lang.org/hir/ambig-unambig-ty-and-consts.html>
3716+
/// <https://rustc-dev-guide.rust-lang.org/ambig-unambig-ty-and-consts.html>
37173717
// SAFETY: `repr(u8)` is required so that `TyKind<()>` and `TyKind<!>` are layout compatible
37183718
#[repr(u8, C)]
37193719
#[derive(Debug, Clone, Copy, HashStable_Generic)]

0 commit comments

Comments
 (0)