Remove Item::kind, use tagged enum. Rename variants to match#82613
Remove Item::kind, use tagged enum. Rename variants to match#82613bors merged 5 commits intorust-lang:masterfrom
Conversation
|
CC @HeroicKatora |
|
Can you add a test for this, (probably in Also nit: To be more consistant with |
|
I'll add a test. I'm not sure I like that naming, I think 'kind' is a weird name for the inner values, and we don't really need consistency with clean when it's not harming functionality. Also, |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
See #80142, I don't think this is worth changing. |
This comment has been minimized.
This comment has been minimized.
|
@bors delegate=aDotInTheVoid |
|
✌️ @aDotInTheVoid can now approve this pull request |
aDotInTheVoid
left a comment
There was a problem hiding this comment.
Mostly good, just a couple of things to do. Also you need to rebase on master
@rustbot modify labels: -S-waiting-on-review +S-waiting-on-author
|
@bors r+ squash |
|
📌 Commit 18841ec has been approved by |
Remove Item::kind, use tagged enum. Rename variants to match Fixes rust-lang#82299, by making the ItemEnum tagged. Doesn't remove ItemKind as it's still used in other places. r? `@jyn514` `@rustbot` label: +A-rustdoc-json +T-rustdoc
Remove Item::kind, use tagged enum. Rename variants to match Fixes rust-lang#82299, by making the ItemEnum tagged. Doesn't remove ItemKind as it's still used in other places. r? ``@jyn514`` ``@rustbot`` label: +A-rustdoc-json +T-rustdoc
Remove Item::kind, use tagged enum. Rename variants to match Fixes rust-lang#82299, by making the ItemEnum tagged. Doesn't remove ItemKind as it's still used in other places. r? ```@jyn514``` ```@rustbot``` label: +A-rustdoc-json +T-rustdoc
Remove Item::kind, use tagged enum. Rename variants to match Fixes rust-lang#82299, by making the ItemEnum tagged. Doesn't remove ItemKind as it's still used in other places. r? ````@jyn514```` ````@rustbot```` label: +A-rustdoc-json +T-rustdoc
Rollup of 10 pull requests Successful merges: - rust-lang#82047 (bypass auto_da_alloc for metadata files) - rust-lang#82415 (expand: Refactor module loading) - rust-lang#82557 (Add natvis for Result, NonNull, CString, CStr, and Cow) - rust-lang#82613 (Remove Item::kind, use tagged enum. Rename variants to match) - rust-lang#82642 (Fix jemalloc usage on OSX) - rust-lang#82682 (Implement built-in attribute macro `#[cfg_eval]` + some refactoring) - rust-lang#82684 (Disable destination propagation on all mir-opt-levels) - rust-lang#82755 (Refactor confirm_builtin_call, remove partial if) - rust-lang#82857 (Edit ructc_ast_lowering docs) - rust-lang#82862 (Generalize Write impl for Vec<u8> to Vec<u8, A>) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #82299, by making the ItemEnum tagged. Doesn't remove ItemKind as it's still used in other places.
r? @jyn514
@rustbot label: +A-rustdoc-json +T-rustdoc