rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

Fix `empty_enum_variants_with_brackets` misses removing brackets in patterns

Open profetia opened this issue 1 month ago • 2 comments

Closes rust-lang/rust-clippy#16157

changelog: [empty_enum_variants_with_brackets] fix missing to remove brackets in patterns

profetia avatar Nov 30 '25 20:11 profetia

r? @samueltardieu

rustbot has assigned @samueltardieu. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Nov 30 '25 20:11 rustbot

Lintcheck changes for 96423581b2c5d792f25d5c6aab72c9d40d50980e

Lint Added Removed Changed
clippy::empty_enum_variants_with_brackets 0 1 0

This comment will be updated if you push new changes

github-actions[bot] avatar Dec 01 '25 22:12 github-actions[bot]

Reminder, once the PR becomes ready for a review, use @rustbot ready.

rustbot avatar Dec 15 '25 13:12 rustbot

Added. Thank you!

profetia avatar Dec 15 '25 22:12 profetia