]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-19100.stderr
Auto merge of #53295 - estebank:on-unimplemented, r=michaelwoerister
[rust.git] / src / test / ui / issues / issue-19100.stderr
1 warning[E0170]: pattern binding `Bar` is named the same as one of the variants of the type `Foo`
2   --> $DIR/issue-19100.rs:28:1
3    |
4 LL | Bar if true
5    | ^^^ help: to match on the variant, qualify the path: `Foo::Bar`
6
7 warning[E0170]: pattern binding `Baz` is named the same as one of the variants of the type `Foo`
8   --> $DIR/issue-19100.rs:32:1
9    |
10 LL | Baz if false
11    | ^^^ help: to match on the variant, qualify the path: `Foo::Baz`
12