1 error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
2 --> $DIR/issue-75883.rs:6:21
4 LL | pub fn run() -> Result<_> {
5 | ^^^^^^ - supplied 1 generic argument
7 | expected 2 generic arguments
9 help: add missing generic argument
11 LL | pub fn run() -> Result<_, E> {
14 error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
15 --> $DIR/issue-75883.rs:15:35
17 LL | pub fn interact(&mut self) -> Result<_> {
18 | ^^^^^^ - supplied 1 generic argument
20 | expected 2 generic arguments
22 help: add missing generic argument
24 LL | pub fn interact(&mut self) -> Result<_, E> {
27 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
28 --> $DIR/issue-75883.rs:15:42
30 LL | pub fn interact(&mut self) -> Result<_> {
31 | ^ not allowed in type signatures
33 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
34 --> $DIR/issue-75883.rs:6:28
36 LL | pub fn run() -> Result<_> {
37 | ^ not allowed in type signatures
39 error: aborting due to 4 previous errors
41 Some errors have detailed explanations: E0107, E0121.
42 For more information about an error, try `rustc --explain E0107`.