Add experimental unnamed_enum_variants feature gate#157274
Conversation
|
The parser was modified, potentially altering the grammar of (stable) Rust cc @fmease rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
|
r? @Kivooeo rustbot has assigned @Kivooeo. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Reminder, once the PR becomes ready for a review, use |
|
I've opened a PR for the rust-analyzer bits and will rebase this PR once those changes are pushed over to rust-lang/rust. In the meantime, the rest of the PR should be able to receive feedback as-is. @rustbot ready |
|
You can remove the r-a changes from this PR. The other changes are not dependent on them. And also, I don't want to merge the r-a PR until the rustc PR is merged. |
e39a747 to
e6b4102
Compare
|
@ChayimFriedman2 Ah, I'd mistakenly thought that the r-a parser was actually being utilized by rustc here based on the rustc dev guide. But indeed this change isn't dependent on r-a. I've removed the r-a bits from this PR entirely as requested. |
This parses the basic syntax and defines a feature gate for the unnamed enum variants lang experiment, tracking issue #156628.
cc @joshtriplett, @scottmcm, @tmandry