2018-11-19 06:21:38 +00:00
|
|
|
error[E0412]: cannot find type `Set` in this scope
|
|
|
|
--> $DIR/issue-56028-there-is-an-enum-variant.rs:9:15
|
|
|
|
|
|
|
|
|
LL | fn setup() -> Set { Set }
|
|
|
|
| ^^^ not found in this scope
|
2019-10-24 05:20:58 +00:00
|
|
|
|
|
2018-11-19 06:21:38 +00:00
|
|
|
help: there is an enum variant `AffixHeart::Set` and 7 others; try using the variant's enum
|
|
|
|
|
|
|
|
|
LL | fn setup() -> AffixHeart { Set }
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~~~~~
|
2018-11-19 06:21:38 +00:00
|
|
|
LL | fn setup() -> CauseToBe { Set }
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~~~~
|
2018-11-19 06:21:38 +00:00
|
|
|
LL | fn setup() -> Determine { Set }
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~~~~
|
2018-11-19 06:21:38 +00:00
|
|
|
LL | fn setup() -> PutDown { Set }
|
2021-06-22 02:07:19 +00:00
|
|
|
| ~~~~~~~
|
2019-10-14 04:48:39 +00:00
|
|
|
and 3 other candidates
|
2018-11-19 06:21:38 +00:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `Set` in this scope
|
|
|
|
--> $DIR/issue-56028-there-is-an-enum-variant.rs:9:21
|
|
|
|
|
|
|
|
|
LL | fn setup() -> Set { Set }
|
|
|
|
| ^^^ not found in this scope
|
2019-10-24 05:20:58 +00:00
|
|
|
|
|
2020-05-04 22:12:06 +00:00
|
|
|
help: consider importing one of these items
|
2018-11-19 06:21:38 +00:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use AffixHeart::Set;
|
2018-11-19 06:21:38 +00:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use CauseToBe::Set;
|
2018-11-19 06:21:38 +00:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use Determine::Set;
|
2018-11-19 06:21:38 +00:00
|
|
|
|
|
2023-03-18 02:18:39 +00:00
|
|
|
LL + use PutDown::Set;
|
2018-11-19 06:21:38 +00:00
|
|
|
|
|
2019-10-14 04:48:39 +00:00
|
|
|
and 3 other candidates
|
2018-11-19 06:21:38 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0412, E0425.
|
2018-11-19 06:21:38 +00:00
|
|
|
For more information about an error, try `rustc --explain E0412`.
|