error: Try can only be derived for an enum
--> tests/compilation/fail_Union.rs:6:10
|
6 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: not an enum
--> tests/compilation/fail_Union.rs:8:1
|
8 | union Union {
| ^^^^^
= note: this error originates in the derive macro `Try` (in Nightly builds, run with -Z macro-backtrace for more info)
error: Try can only be derived for an enum
--> tests/compilation/fail_Union.rs:6:15
|
6 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: not an enum
--> tests/compilation/fail_Union.rs:8:1
|
8 | union Union {
| ^^^^^
= note: this error originates in the derive macro `Try_ConvertResult` (in Nightly builds, run with -Z macro-backtrace for more info)