Commit cc41ba4
authored
Rollup merge of #153798 - zachs18:remove-pointerlikecandidate, r=JohnTitor
Remove unused `SelectionCandidate::PointerLikeCandidate`
The `PointerLike` trait was removed in #143308, as part of `dyn*` being removed.
`!null` pattern types were added in #142339 , which added `SelectionCandidate::PointerLikeCandidate`, IIUC to allow pattern types to implement `PointerLike`, but `PointerLike` was removed after that PR was first written, so (I assume) that functionality was mostly removed on a rebase, but this part didn't get removed. (see an earlier version of that PR that mentioned `LangItem::PointerLike`: 50cab82 before it got rebased over the rollup containing 143308: #142339 (comment) )
cc @oli-obkFile tree
3 files changed
+0
-28
lines changed- compiler
- rustc_middle/src/traits
- rustc_trait_selection/src/traits/select
3 files changed
+0
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 166 | | |
170 | 167 | | |
171 | 168 | | |
| |||
Lines changed: 0 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | 118 | | |
124 | 119 | | |
125 | 120 | | |
| |||
638 | 633 | | |
639 | 634 | | |
640 | 635 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | 636 | | |
661 | 637 | | |
662 | 638 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2038 | 2038 | | |
2039 | 2039 | | |
2040 | 2040 | | |
2041 | | - | |
2042 | 2041 | | |
2043 | 2042 | | |
2044 | 2043 | | |
| |||
0 commit comments