fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0412]: cannot find type `Set` in this scope 2 --> $DIR/issue-56028-there-is-an-enum-variant.rs:9:15 3 | 4LL | fn setup() -> Set { Set } 5 | ^^^ not found in this scope 6help: there is an enum variant `AffixHeart::Set` and 7 others; try using the variant's enum 7 | 8LL | fn setup() -> AffixHeart { Set } 9 | ^^^^^^^^^^ 10LL | fn setup() -> CauseToBe { Set } 11 | ^^^^^^^^^ 12LL | fn setup() -> Determine { Set } 13 | ^^^^^^^^^ 14LL | fn setup() -> PutDown { Set } 15 | ^^^^^^^ 16and 3 other candidates 17 18error[E0425]: cannot find value `Set` in this scope 19 --> $DIR/issue-56028-there-is-an-enum-variant.rs:9:21 20 | 21LL | fn setup() -> Set { Set } 22 | ^^^ not found in this scope 23help: possible candidates are found in other modules, you can import them into scope 24 | 25LL | use AffixHeart::Set; 26 | 27LL | use CauseToBe::Set; 28 | 29LL | use Determine::Set; 30 | 31LL | use PutDown::Set; 32 | 33and 3 other candidates 34 35error: aborting due to 2 previous errors 36 37Some errors have detailed explanations: E0412, E0425. 38For more information about an error, try `rustc --explain E0412`.