diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index a749c52e2dd65..4cea9f321717a 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -2357,7 +2357,7 @@ declare_lint! { "constant in pattern does not implement `PartialEq`", @future_incompatible = FutureIncompatibleInfo { reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps, - reference: "issue #X ", + reference: "issue #116122 ", }; } diff --git a/tests/ui/consts/const_in_pattern/issue-65466.stderr b/tests/ui/consts/const_in_pattern/issue-65466.stderr index 89fddbf853d5f..af81ad871f697 100644 --- a/tests/ui/consts/const_in_pattern/issue-65466.stderr +++ b/tests/ui/consts/const_in_pattern/issue-65466.stderr @@ -5,7 +5,7 @@ LL | C => (), | ^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #X + = note: for more information, see issue #116122 = note: `#[warn(match_without_partial_eq)]` on by default warning: 1 warning emitted @@ -18,6 +18,6 @@ LL | C => (), | ^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #X + = note: for more information, see issue #116122 = note: `#[warn(match_without_partial_eq)]` on by default diff --git a/tests/ui/match/issue-72896-non-partial-eq-const.stderr b/tests/ui/match/issue-72896-non-partial-eq-const.stderr index f32cf43953160..ae3c13b5383d4 100644 --- a/tests/ui/match/issue-72896-non-partial-eq-const.stderr +++ b/tests/ui/match/issue-72896-non-partial-eq-const.stderr @@ -5,7 +5,7 @@ LL | CONST_SET => { /* ok */ } | ^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #X + = note: for more information, see issue #116122 = note: `#[warn(match_without_partial_eq)]` on by default warning: 1 warning emitted @@ -18,6 +18,6 @@ LL | CONST_SET => { /* ok */ } | ^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #X + = note: for more information, see issue #116122 = note: `#[warn(match_without_partial_eq)]` on by default