]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-34209.stderr
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[rust.git] / src / test / ui / issues / issue-34209.stderr
1 error[E0599]: no variant named `B` found for enum `S`
2   --> $DIR/issue-34209.rs:7:12
3    |
4 LL | enum S {
5    | ------ variant `B` not found here
6 ...
7 LL |         S::B {} => {},
8    |            ^ help: there is a variant with a similar name: `A`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0599`.