Aneesh Kadiyala

Results comments of Aneesh Kadiyala

Hello, I would like to extend #167109 to fix this issue as well.

A new lint called `brackets_without_fields` that does the work of both `empty_structs_with_brackets` and the lint added in the PR would do the trick. However, I can't find the guidelines in...

@Xuanwo > Also, we're not enabling this lint by default, correct? The lint would be placed in the "Restriction" Group which seems to have lints that are `allow` by default.

I have opened a new PR incorporating the changes suggested by @PartiallyTyped.

Running `rustup uninstall nightly-2023-12-16` and reinstalling it seemed to do the trick.

I got the basic code ready but am facing trouble with the UI tests: ```rs let _ = match Abc::A { Abc::A => 0, //~ ERROR: this match arm has...

@PartiallyTyped ```rs let _ = match Abc::A { Abc::A => 0, //~ ERROR: this match arm has an identical body to the `_` wildcard arm Abc::B => 1, _ =>...