Commit 31feb5b
committed
Auto merge of #4368 - RalfJung:invalid_ref, r=oli-obk
deprecate invalid_ref lint
This fixes the `invalid_ref` lint test to no longer fail when rust-lang/rust#63346 lands. I also fixed the lint itself, because its wording made no sense: there is no "reference to zeroed/uninitialized memory" here.
changelog: noneFile tree
6 files changed
+9
-162
lines changed- clippy_lints/src
- utils
- tests/ui
6 files changed
+9
-162
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
| |||
558 | 557 | | |
559 | 558 | | |
560 | 559 | | |
561 | | - | |
562 | 560 | | |
563 | 561 | | |
564 | 562 | | |
| |||
736 | 734 | | |
737 | 735 | | |
738 | 736 | | |
739 | | - | |
740 | 737 | | |
741 | 738 | | |
742 | 739 | | |
| |||
1094 | 1091 | | |
1095 | 1092 | | |
1096 | 1093 | | |
1097 | | - | |
1098 | 1094 | | |
1099 | 1095 | | |
1100 | 1096 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
54 | | - | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
109 | 106 | | |
110 | 107 | | |
111 | 108 | | |
112 | | - | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments