error: Try requires the first generic type to be used as the `Output` type
--> tests/compilation/fail_FirstGenericNotOutput.rs:6:10
|
6 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:8:12
|
8 | enum Owned<T, E> {
| ^
help: change this to T
--> tests/compilation/fail_FirstGenericNotOutput.rs:9:8
|
9 | Ok(E),
| ^
= note: this error originates in the derive macro `Try` (in Nightly builds, run with -Z macro-backtrace for more info)
error: Try requires the first generic type to be used as the `Output` type
--> tests/compilation/fail_FirstGenericNotOutput.rs:6:15
|
6 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:8:12
|
8 | enum Owned<T, E> {
| ^
help: change this to T
--> tests/compilation/fail_FirstGenericNotOutput.rs:9:8
|
9 | Ok(E),
| ^
= note: this error originates in the derive macro `Try_ConvertResult` (in Nightly builds, run with -Z macro-backtrace for more info)
error: Try requires the first generic type to be used as the `Output` type
--> tests/compilation/fail_FirstGenericNotOutput.rs:13:10
|
13 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:15:23
|
15 | enum Borrowed<'t, 'e, T, E> {
| ^
help: change this to &'e T
--> tests/compilation/fail_FirstGenericNotOutput.rs:16:8
|
16 | Ok(&'e E),
| ^^^^^
= note: this error originates in the derive macro `Try` (in Nightly builds, run with -Z macro-backtrace for more info)
error: Try requires the first generic type to be used as the `Output` type
--> tests/compilation/fail_FirstGenericNotOutput.rs:13:15
|
13 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:15:23
|
15 | enum Borrowed<'t, 'e, T, E> {
| ^
help: change this to &'e T
--> tests/compilation/fail_FirstGenericNotOutput.rs:16:8
|
16 | Ok(&'e E),
| ^^^^^
= note: this error originates in the derive macro `Try_ConvertResult` (in Nightly builds, run with -Z macro-backtrace for more info)
error: Try requires a single generic type for `Output`
--> tests/compilation/fail_FirstGenericNotOutput.rs:20:10
|
20 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:22:35
|
22 | enum MultipleBorrowed<'t, 'e, 'f, T, E, F> {
| ^
help: change this to (T)
--> tests/compilation/fail_FirstGenericNotOutput.rs:23:7
|
23 | Ok(&'e E, &'f F),
| ^^^^^^^^^^^^^^
= note: this error originates in the derive macro `Try` (in Nightly builds, run with -Z macro-backtrace for more info)
error: Try requires a single generic type for `Output`
--> tests/compilation/fail_FirstGenericNotOutput.rs:20:15
|
20 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:22:35
|
22 | enum MultipleBorrowed<'t, 'e, 'f, T, E, F> {
| ^
help: change this to (T)
--> tests/compilation/fail_FirstGenericNotOutput.rs:23:7
|
23 | Ok(&'e E, &'f F),
| ^^^^^^^^^^^^^^
= note: this error originates in the derive macro `Try_ConvertResult` (in Nightly builds, run with -Z macro-backtrace for more info)