Skip to content

Commit 31bd8e0

Browse files
committed
add tracking issue
1 parent b589976 commit 31bd8e0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ declare_lint! {
23572357
"constant in pattern does not implement `PartialEq`",
23582358
@future_incompatible = FutureIncompatibleInfo {
23592359
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
2360-
reference: "issue #X <https://github.com/rust-lang/rust/issues/X>",
2360+
reference: "issue #116122 <https://github.com/rust-lang/rust/issues/116122>",
23612361
};
23622362
}
23632363

tests/ui/consts/const_in_pattern/issue-65466.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | C => (),
55
| ^
66
|
77
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8-
= note: for more information, see issue #X <https://github.com/rust-lang/rust/issues/X>
8+
= note: for more information, see issue #116122 <https://github.com/rust-lang/rust/issues/116122>
99
= note: `#[warn(match_without_partial_eq)]` on by default
1010

1111
warning: 1 warning emitted
@@ -18,6 +18,6 @@ LL | C => (),
1818
| ^
1919
|
2020
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
21-
= note: for more information, see issue #X <https://github.com/rust-lang/rust/issues/X>
21+
= note: for more information, see issue #116122 <https://github.com/rust-lang/rust/issues/116122>
2222
= note: `#[warn(match_without_partial_eq)]` on by default
2323

tests/ui/match/issue-72896-non-partial-eq-const.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | CONST_SET => { /* ok */ }
55
| ^^^^^^^^^
66
|
77
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8-
= note: for more information, see issue #X <https://github.com/rust-lang/rust/issues/X>
8+
= note: for more information, see issue #116122 <https://github.com/rust-lang/rust/issues/116122>
99
= note: `#[warn(match_without_partial_eq)]` on by default
1010

1111
warning: 1 warning emitted
@@ -18,6 +18,6 @@ LL | CONST_SET => { /* ok */ }
1818
| ^^^^^^^^^
1919
|
2020
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
21-
= note: for more information, see issue #X <https://github.com/rust-lang/rust/issues/X>
21+
= note: for more information, see issue #116122 <https://github.com/rust-lang/rust/issues/116122>
2222
= note: `#[warn(match_without_partial_eq)]` on by default
2323

0 commit comments

Comments
 (0)