Match on lang item kind instead of using an if/else chain by oli-obk 路 Pull Request #140386 路 rust-lang/rust (original) (raw)

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

oli-obk

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Apr 28, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Apr 28, 2025

@bors

鈥ry>

Match on lang item kind instead of using an if/else chain

r? @ghost

bors added a commit to rust-lang-ci/rust that referenced this pull request

Apr 28, 2025

@bors

鈥ry>

Match on lang item kind instead of using an if/else chain

r? @ghost

@oli-obk oli-obk marked this pull request as ready for review

April 28, 2025 13:40

compiler-errors

bors added a commit to rust-lang-ci/rust that referenced this pull request

Apr 29, 2025

@bors

鈥ry>

Match on lang item kind instead of using an if/else chain

Similar to how the new solver does this. Just noticed while I was adding a new entry to the chain 馃槅