]>
Commit | Line | Data |
---|---|---|
7cac9316 XL |
1 | warning[E0170]: pattern binding `Bar` is named the same as one of the variants of the type `Foo` |
2 | --> $DIR/issue-19100.rs:27:1 | |
3 | | | |
4 | 27 | Bar if true | |
5 | | ^^^ | |
6 | | | |
7 | = help: if you meant to match on a variant, consider making the path in the pattern qualified: `Foo::Bar` | |
8 | ||
9 | warning[E0170]: pattern binding `Baz` is named the same as one of the variants of the type `Foo` | |
ff7c6d11 | 10 | --> $DIR/issue-19100.rs:31:1 |
7cac9316 | 11 | | |
ff7c6d11 | 12 | 31 | Baz if false |
7cac9316 XL |
13 | | ^^^ |
14 | | | |
15 | = help: if you meant to match on a variant, consider making the path in the pattern qualified: `Foo::Baz` | |
16 |