Skip to content

Commit 45d01b8

Browse files
committed
update the tracking issue for structural match violations
and bless a test I missed
1 parent 48abca7 commit 45d01b8

16 files changed

+89
-72
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2283,7 +2283,7 @@ declare_lint! {
22832283
"constant used in pattern contains value of non-structural-match type in a field or a variant",
22842284
@future_incompatible = FutureIncompatibleInfo {
22852285
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
2286-
reference: "issue #62411 <https://github.com/rust-lang/rust/issues/62411>",
2286+
reference: "issue #120362 <https://github.com/rust-lang/rust/issues/120362>",
22872287
};
22882288
}
22892289

@@ -2339,7 +2339,7 @@ declare_lint! {
23392339
"pointers are not structural-match",
23402340
@future_incompatible = FutureIncompatibleInfo {
23412341
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
2342-
reference: "issue #62411 <https://github.com/rust-lang/rust/issues/70861>",
2342+
reference: "issue #120362 <https://github.com/rust-lang/rust/issues/120362>",
23432343
};
23442344
}
23452345

tests/ui/closures/2229_closure_analysis/match/match-edge-cases_1.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | NUMBER_POINTER => (),
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 #62411 <https://github.com/rust-lang/rust/issues/70861>
8+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
99
= note: `#[warn(pointer_structural_match)]` on by default
1010

1111
warning: 1 warning emitted
@@ -18,6 +18,6 @@ LL | NUMBER_POINTER => (),
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 #62411 <https://github.com/rust-lang/rust/issues/70861>
21+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
2222
= note: `#[warn(pointer_structural_match)]` on by default
2323

tests/ui/consts/const_in_pattern/issue-34784-match-on-non-int-raw-ptr.stderr

+8-8
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 #62411 <https://github.com/rust-lang/rust/issues/70861>
8+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
99
note: the lint level is defined here
1010
--> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9
1111
|
@@ -19,7 +19,7 @@ LL | C_INNER => {}
1919
| ^^^^^^^
2020
|
2121
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
22-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
22+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
2323

2424
error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
2525
--> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:30:9
@@ -28,7 +28,7 @@ LL | D => {}
2828
| ^
2929
|
3030
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
31-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
31+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
3232

3333
error: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
3434
--> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:36:9
@@ -37,7 +37,7 @@ LL | STR => {}
3737
| ^^^
3838
|
3939
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
40-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
40+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
4141

4242
error: aborting due to 4 previous errors
4343

@@ -49,7 +49,7 @@ LL | C => {}
4949
| ^
5050
|
5151
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
52-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
52+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
5353
note: the lint level is defined here
5454
--> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9
5555
|
@@ -64,7 +64,7 @@ LL | C_INNER => {}
6464
| ^^^^^^^
6565
|
6666
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
67-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
67+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
6868
note: the lint level is defined here
6969
--> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9
7070
|
@@ -79,7 +79,7 @@ LL | D => {}
7979
| ^
8080
|
8181
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
82-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
82+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
8383
note: the lint level is defined here
8484
--> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9
8585
|
@@ -94,7 +94,7 @@ LL | STR => {}
9494
| ^^^
9595
|
9696
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
97-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
97+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
9898
note: the lint level is defined here
9999
--> $DIR/issue-34784-match-on-non-int-raw-ptr.rs:1:9
100100
|

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | FOO => println!("foo"),
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 #62411 <https://github.com/rust-lang/rust/issues/70861>
8+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
99
note: the lint level is defined here
1010
--> $DIR/issue-44333.rs:3:9
1111
|
@@ -19,7 +19,7 @@ LL | BAR => println!("bar"),
1919
| ^^^
2020
|
2121
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
22-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
22+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
2323

2424
warning: 2 warnings emitted
2525

@@ -31,7 +31,7 @@ LL | FOO => println!("foo"),
3131
| ^^^
3232
|
3333
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
34-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
34+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
3535
note: the lint level is defined here
3636
--> $DIR/issue-44333.rs:3:9
3737
|
@@ -46,7 +46,7 @@ LL | BAR => println!("bar"),
4646
| ^^^
4747
|
4848
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
49+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
5050
note: the lint level is defined here
5151
--> $DIR/issue-44333.rs:3:9
5252
|

tests/ui/consts/const_in_pattern/reject_non_structural.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,5 @@ fn main() {
100100
//~| NOTE the traits must be derived
101101
//~| NOTE StructuralPartialEq.html for details
102102
//~| WARN previously accepted by the compiler but is being phased out
103-
//~| NOTE for more information, see issue #62411
103+
//~| NOTE for more information, see
104104
}

tests/ui/consts/const_in_pattern/reject_non_structural.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ LL | match &Some(NoDerive) { ADDR_OF => dbg!(ADDR_OF), _ => panic!("whoops")
8686
| ^^^^^^^
8787
|
8888
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
89-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/62411>
89+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
9090
= note: the traits must be derived, manual `impl`s are not sufficient
9191
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
9292
note: the lint level is defined here
@@ -105,7 +105,7 @@ LL | match &Some(NoDerive) { ADDR_OF => dbg!(ADDR_OF), _ => panic!("whoops")
105105
| ^^^^^^^
106106
|
107107
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
108-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/62411>
108+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
109109
= note: the traits must be derived, manual `impl`s are not sufficient
110110
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
111111
note: the lint level is defined here

tests/ui/consts/issue-89088.stderr

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Future incompatibility report: Future breakage diagnostic:
2+
warning: to use a constant of type `Cow<'_, str>` in a pattern, `Cow<'_, str>` must be annotated with `#[derive(PartialEq)]`
3+
--> $DIR/issue-89088.rs:19:9
4+
|
5+
LL | FOO => todo!(),
6+
| ^^^
7+
|
8+
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
10+
= note: the traits must be derived, manual `impl`s are not sufficient
11+
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
12+
note: the lint level is defined here
13+
--> $DIR/issue-89088.rs:5:10
14+
|
15+
LL | #![allow(indirect_structural_match)]
16+
| ^^^^^^^^^^^^^^^^^^^^^^^^^
17+

tests/ui/pattern/usefulness/const-partial_eq-fallback-ice.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ LL | if let CONSTANT = &&MyType {
1717
| ^^^^^^^^
1818
|
1919
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
20-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/62411>
20+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
2121
= note: the traits must be derived, manual `impl`s are not sufficient
2222
= note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
2323
note: the lint level is defined here

tests/ui/pattern/usefulness/consts-opaque.stderr

+16-16
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | QUUX => {}
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 #62411 <https://github.com/rust-lang/rust/issues/70861>
8+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
99
= note: `#[warn(pointer_structural_match)]` on by default
1010

1111
warning: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
@@ -15,7 +15,7 @@ LL | QUUX => {}
1515
| ^^^^
1616
|
1717
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
18+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
1919

2020
warning: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
2121
--> $DIR/consts-opaque.rs:108:9
@@ -24,7 +24,7 @@ LL | WRAPQUUX => {}
2424
| ^^^^^^^^
2525
|
2626
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
27-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
27+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
2828

2929
warning: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
3030
--> $DIR/consts-opaque.rs:110:9
@@ -33,7 +33,7 @@ LL | WRAPQUUX => {}
3333
| ^^^^^^^^
3434
|
3535
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
36+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
3737

3838
warning: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
3939
--> $DIR/consts-opaque.rs:117:9
@@ -42,7 +42,7 @@ LL | WRAPQUUX => {}
4242
| ^^^^^^^^
4343
|
4444
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
45-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
45+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
4646

4747
warning: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
4848
--> $DIR/consts-opaque.rs:127:9
@@ -51,7 +51,7 @@ LL | WRAPQUUX => {}
5151
| ^^^^^^^^
5252
|
5353
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
54-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
54+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
5555

5656
warning: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
5757
--> $DIR/consts-opaque.rs:139:9
@@ -60,7 +60,7 @@ LL | WHOKNOWSQUUX => {}
6060
| ^^^^^^^^^^^^
6161
|
6262
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
63-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
63+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
6464

6565
warning: function pointers and raw pointers not derived from integers in patterns behave unpredictably and should not be relied upon. See https://github.com/rust-lang/rust/issues/70861 for details.
6666
--> $DIR/consts-opaque.rs:142:9
@@ -69,7 +69,7 @@ LL | WHOKNOWSQUUX => {}
6969
| ^^^^^^^^^^^^
7070
|
7171
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
72-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
72+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
7373

7474
error: unreachable pattern
7575
--> $DIR/consts-opaque.rs:48:9
@@ -174,7 +174,7 @@ LL | QUUX => {}
174174
| ^^^^
175175
|
176176
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
177-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
177+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
178178
= note: `#[warn(pointer_structural_match)]` on by default
179179

180180
Future breakage diagnostic:
@@ -185,7 +185,7 @@ LL | QUUX => {}
185185
| ^^^^
186186
|
187187
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
188-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
188+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
189189
= note: `#[warn(pointer_structural_match)]` on by default
190190

191191
Future breakage diagnostic:
@@ -196,7 +196,7 @@ LL | WRAPQUUX => {}
196196
| ^^^^^^^^
197197
|
198198
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
199-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
199+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
200200
= note: `#[warn(pointer_structural_match)]` on by default
201201

202202
Future breakage diagnostic:
@@ -207,7 +207,7 @@ LL | WRAPQUUX => {}
207207
| ^^^^^^^^
208208
|
209209
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
210-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
210+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
211211
= note: `#[warn(pointer_structural_match)]` on by default
212212

213213
Future breakage diagnostic:
@@ -218,7 +218,7 @@ LL | WRAPQUUX => {}
218218
| ^^^^^^^^
219219
|
220220
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
221-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
221+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
222222
= note: `#[warn(pointer_structural_match)]` on by default
223223

224224
Future breakage diagnostic:
@@ -229,7 +229,7 @@ LL | WRAPQUUX => {}
229229
| ^^^^^^^^
230230
|
231231
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
232-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
232+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
233233
= note: `#[warn(pointer_structural_match)]` on by default
234234

235235
Future breakage diagnostic:
@@ -240,7 +240,7 @@ LL | WHOKNOWSQUUX => {}
240240
| ^^^^^^^^^^^^
241241
|
242242
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
243-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
243+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
244244
= note: `#[warn(pointer_structural_match)]` on by default
245245

246246
Future breakage diagnostic:
@@ -251,6 +251,6 @@ LL | WHOKNOWSQUUX => {}
251251
| ^^^^^^^^^^^^
252252
|
253253
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
254-
= note: for more information, see issue #62411 <https://github.com/rust-lang/rust/issues/70861>
254+
= note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
255255
= note: `#[warn(pointer_structural_match)]` on by default
256256

0 commit comments

Comments
 (0)