error: Try requires a single generic type for `Output`
--> tests/compilation/fail_TooManyOutputs.rs:6:10
|
6 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:8:21
|
8 | enum TooManyOutputs<T, E> {
| ^
help: change this to (T)
--> tests/compilation/fail_TooManyOutputs.rs:9:7
|
9 | Ok(T, E),
| ^^^^^^
= 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_TooManyOutputs.rs:6:15
|
6 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:8:21
|
8 | enum TooManyOutputs<T, E> {
| ^
help: change this to (T)
--> tests/compilation/fail_TooManyOutputs.rs:9:7
|
9 | Ok(T, 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_TooManyOutputs.rs:13:10
|
13 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:15:37
|
15 | enum TooManyOutputsBorrowed<'t, 'e, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:16:7
|
16 | Ok(&'t T, &'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 a single generic type for `Output`
--> tests/compilation/fail_TooManyOutputs.rs:13:15
|
13 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:15:37
|
15 | enum TooManyOutputsBorrowed<'t, 'e, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:16:7
|
16 | Ok(&'t T, &'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_TooManyOutputs.rs:20:10
|
20 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:22:45
|
22 | enum TooManyOutputsBorrowedOrdering<'e, 't, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:23:7
|
23 | Ok(&'e E, &'t T),
| ^^^^^^^^^^^^^^
= 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_TooManyOutputs.rs:20:15
|
20 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:22:45
|
22 | enum TooManyOutputsBorrowedOrdering<'e, 't, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:23:7
|
23 | Ok(&'e E, &'t T),
| ^^^^^^^^^^^^^^
= note: this error originates in the derive macro `Try_ConvertResult` (in Nightly builds, run with -Z macro-backtrace for more info)