]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_borrowck/src/diagnostics/mod.rs
Rollup merge of #106628 - GuillaumeGomez:rm-itemid-primitive, r=notriddle
authorYuki Okushi <huyuumi.dev+love@gmail.com>
Wed, 11 Jan 2023 05:18:53 +0000 (14:18 +0900)
committerGitHub <noreply@github.com>
Wed, 11 Jan 2023 05:18:53 +0000 (14:18 +0900)
commitb0ffc113a44bbb83315a71f802c9386f0c83ab78
tree37783e89217011d4a847b34f0ac3d2e713bb4d33
parent12b124283cd51389afe59904e29f8ad7325c1dc0
parent36c9b49c145af1a98948046dcc7060e2e552881c
Rollup merge of #106628 - GuillaumeGomez:rm-itemid-primitive, r=notriddle

Remove unneeded ItemId::Primitive variant

As I mentioned [here](https://github.com/rust-lang/rust/pull/106412#issuecomment-1371405115), I wondered if `ItemId::Primitive` was actually used for anything. Apparently, it seems so because removing it led to no changes as far as I and tests could see.

r? `@notriddle`