Commit 8b1ac45
committed
Auto merge of rust-lang#10141 - FoseFx:fosefx/9887, r=Jarcho
fix empty_structs_with_brackets suggestion errors
fixes rust-lang#9887
I refer to [my comment](rust-lang/rust-clippy#9887 (comment)) to explain this PR.
---
changelog: Sugg: [`empty_structs_with_brackets`]: The suggestion is no longer machine applicable, to avoid errors when accessing struct fields
[rust-lang#10141](rust-lang/rust-clippy#10141)
<!-- changelog_checked -->1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments