1 error[E0412]: cannot find type `Set` in this scope
2 --> $DIR/issue-56028-there-is-an-enum-variant.rs:9:15
4 LL | fn setup() -> Set { Set }
5 | ^^^ not found in this scope
7 help: there is an enum variant `AffixHeart::Set` and 7 others; try using the variant's enum
9 LL | fn setup() -> AffixHeart { Set }
11 LL | fn setup() -> CauseToBe { Set }
13 LL | fn setup() -> Determine { Set }
15 LL | fn setup() -> PutDown { Set }
17 and 3 other candidates
19 error[E0425]: cannot find value `Set` in this scope
20 --> $DIR/issue-56028-there-is-an-enum-variant.rs:9:21
22 LL | fn setup() -> Set { Set }
23 | ^^^ not found in this scope
25 help: consider importing one of these items
27 LL | use AffixHeart::Set;
29 LL | use CauseToBe::Set;
31 LL | use Determine::Set;
33 LL | use PutDown::Set;
35 and 3 other candidates
37 error: aborting due to 2 previous errors
39 Some errors have detailed explanations: E0412, E0425.
40 For more information about an error, try `rustc --explain E0412`.