]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-19100.stderr
Auto merge of #42394 - ollie27:rustdoc_deref_box, r=QuietMisdreavus
[rust.git] / src / test / ui / 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: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`
10   --> $DIR/issue-19100.rs:32:1
11    |
12 32 | Baz if false
13    | ^^^
14    |
15    = help: if you meant to match on a variant, consider making the path in the pattern qualified: `Foo::Baz`
16