error: Try requires the first generic type to be used as the `Output` type
--> tests/compilation/fail_FirstGenericNotOutput.rs:7:10
|
7 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:9:12
|
9 | enum Owned<T, E> {
| ^
help: change this to T
--> tests/compilation/fail_FirstGenericNotOutput.rs:10:8
|
10 | 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:7:15
|
7 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:9:12
|
9 | enum Owned<T, E> {
| ^
help: change this to T
--> tests/compilation/fail_FirstGenericNotOutput.rs:10:8
|
10 | 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:14:10
|
14 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:16:23
|
16 | enum Borrowed<'t, 'e, T, E> {
| ^
help: change this to &'e T
--> tests/compilation/fail_FirstGenericNotOutput.rs:17:8
|
17 | 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:14:15
|
14 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:16:23
|
16 | enum Borrowed<'t, 'e, T, E> {
| ^
help: change this to &'e T
--> tests/compilation/fail_FirstGenericNotOutput.rs:17:8
|
17 | 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:21:10
|
21 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:23:35
|
23 | enum MultipleBorrowed<'t, 'e, 'f, T, E, F> {
| ^
help: change this to (T)
--> tests/compilation/fail_FirstGenericNotOutput.rs:24:7
|
24 | 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:21:15
|
21 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_FirstGenericNotOutput.rs:23:35
|
23 | enum MultipleBorrowed<'t, 'e, 'f, T, E, F> {
| ^
help: change this to (T)
--> tests/compilation/fail_FirstGenericNotOutput.rs:24:7
|
24 | 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)