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:7:21
|
7 | enum TooManyOutputs<T, E> {
| ^
help: change this to (T)
--> tests/compilation/fail_TooManyOutputs.rs:8:7
|
8 | 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:7:21
|
7 | enum TooManyOutputs<T, E> {
| ^
help: change this to (T)
--> tests/compilation/fail_TooManyOutputs.rs:8:7
|
8 | 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:12:10
|
12 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:13:37
|
13 | enum TooManyOutputsBorrowed<'t, 'e, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:14:7
|
14 | 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:12:15
|
12 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:13:37
|
13 | enum TooManyOutputsBorrowed<'t, 'e, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:14:7
|
14 | 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:18:10
|
18 | #[derive(Try, Try_ConvertResult)]
| ^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:19:45
|
19 | enum TooManyOutputsBorrowedOrdering<'e, 't, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:20:7
|
20 | 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:18:15
|
18 | #[derive(Try, Try_ConvertResult)]
| ^^^^^^^^^^^^^^^^^
|
help: Output type defined here
--> tests/compilation/fail_TooManyOutputs.rs:19:45
|
19 | enum TooManyOutputsBorrowedOrdering<'e, 't, T, E> {
| ^
help: change this to (&'t T)
--> tests/compilation/fail_TooManyOutputs.rs:20:7
|
20 | 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)