summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/enum_variant_names/enum_variant_names.stderr
blob: 11039b1db48777700bedda29c5d9359c4e87df2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: all variants have the same postfix: `Foo`
  --> $DIR/enum_variant_names.rs:7:1
   |
LL | / enum Foo2 {
LL | |
LL | |     AFoo,
LL | |     BFoo,
...  |
LL | |     EFoo,
LL | | }
   | |_^
   |
   = help: remove the postfixes and use full paths to the variants instead of glob imports
   = note: `-D clippy::enum-variant-names` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::enum_variant_names)]`

error: aborting due to previous error