2023-12-29 13:53:31 +00:00
|
|
|
error: enum variant has empty brackets
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/empty_enum_variants_with_brackets.rs:7:16
|
2023-12-29 13:53:31 +00:00
|
|
|
|
|
|
|
|
LL | EmptyBraces {},
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::empty-enum-variants-with-brackets` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::empty_enum_variants_with_brackets)]`
|
|
|
|
= help: remove the brackets
|
|
|
|
|
|
|
|
error: enum variant has empty brackets
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/empty_enum_variants_with_brackets.rs:8:21
|
2023-12-29 13:53:31 +00:00
|
|
|
|
|
|
|
|
LL | EmptyParentheses(),
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
= help: remove the brackets
|
|
|
|
|
|
|
|
error: enum variant has empty brackets
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/empty_enum_variants_with_brackets.rs:14:16
|
2023-12-29 13:53:31 +00:00
|
|
|
|
|
|
|
|
LL | EmptyBraces {},
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: remove the brackets
|
|
|
|
|
|
|
|
error: enum variant has empty brackets
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/empty_enum_variants_with_brackets.rs:15:21
|
2023-12-29 13:53:31 +00:00
|
|
|
|
|
|
|
|
LL | EmptyParentheses(),
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
= help: remove the brackets
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|