summary refs log tree commit diff
path: root/src/test/ui/issue-19100.stderr
blob: 96835f69b78c772be9bf57b17cb294b3c464591d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
warning[E0170]: pattern binding `Bar` is named the same as one of the variants of the type `Foo`
  --> $DIR/issue-19100.rs:27:1
   |
LL | Bar if true
   | ^^^
   |
   = help: if you meant to match on a variant, consider making the path in the pattern qualified: `Foo::Bar`

warning[E0170]: pattern binding `Baz` is named the same as one of the variants of the type `Foo`
  --> $DIR/issue-19100.rs:31:1
   |
LL | Baz if false
   | ^^^
   |
   = help: if you meant to match on a variant, consider making the path in the pattern qualified: `Foo::Baz`