]> git.proxmox.com Git - rustc.git/blob - tests/ui/did_you_mean/issue-56028-there-is-an-enum-variant.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / did_you_mean / issue-56028-there-is-an-enum-variant.stderr
1 error[E0412]: cannot find type `Set` in this scope
2 --> $DIR/issue-56028-there-is-an-enum-variant.rs:9:15
3 |
4 LL | fn setup() -> Set { Set }
5 | ^^^ not found in this scope
6 |
7 help: there is an enum variant `AffixHeart::Set` and 7 others; try using the variant's enum
8 |
9 LL | fn setup() -> AffixHeart { Set }
10 | ~~~~~~~~~~
11 LL | fn setup() -> CauseToBe { Set }
12 | ~~~~~~~~~
13 LL | fn setup() -> Determine { Set }
14 | ~~~~~~~~~
15 LL | fn setup() -> PutDown { Set }
16 | ~~~~~~~
17 and 3 other candidates
18
19 error[E0425]: cannot find value `Set` in this scope
20 --> $DIR/issue-56028-there-is-an-enum-variant.rs:9:21
21 |
22 LL | fn setup() -> Set { Set }
23 | ^^^ not found in this scope
24 |
25 help: consider importing one of these items
26 |
27 LL + use AffixHeart::Set;
28 |
29 LL + use CauseToBe::Set;
30 |
31 LL + use Determine::Set;
32 |
33 LL + use PutDown::Set;
34 |
35 and 3 other candidates
36
37 error: aborting due to 2 previous errors
38
39 Some errors have detailed explanations: E0412, E0425.
40 For more information about an error, try `rustc --explain E0412`.