mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
cc41ba4899
Remove unused `SelectionCandidate::PointerLikeCandidate` The `PointerLike` trait was removed in https://github.com/rust-lang/rust/pull/143308, as part of `dyn*` being removed. `!null` pattern types were added in https://github.com/rust-lang/rust/pull/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`: https://github.com/rust-lang/rust/commit/50cab826283cc94f0eb0180907545fbd7dd3d50a before it got rebased over the rollup containing 143308: https://github.com/rust-lang/rust/pull/142339#issuecomment-3037059069 ) cc @oli-obk