]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issue-19100.stderr
New upstream version 1.24.1+dfsg1
[rustc.git] / src / test / ui / issue-19100.stderr
CommitLineData
7cac9316
XL
1warning[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 |
427 | 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
9warning[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 1231 | 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