1 error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied
2 --> $DIR/issue-75883.rs:6:21
4 LL | pub fn run() -> Result<_> {
5 | ^^^^^^ - supplied 1 type argument
7 | expected 2 type arguments
9 note: enum defined here, with 2 type parameters: `T`, `E`
10 --> $SRC_DIR/core/src/result.rs:LL:COL
12 LL | pub enum Result<T, E> {
14 help: add missing type argument
16 LL | pub fn run() -> Result<_, E> {
19 error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied
20 --> $DIR/issue-75883.rs:15:35
22 LL | pub fn interact(&mut self) -> Result<_> {
23 | ^^^^^^ - supplied 1 type argument
25 | expected 2 type arguments
27 note: enum defined here, with 2 type parameters: `T`, `E`
28 --> $SRC_DIR/core/src/result.rs:LL:COL
30 LL | pub enum Result<T, E> {
32 help: add missing type argument
34 LL | pub fn interact(&mut self) -> Result<_, E> {
37 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
38 --> $DIR/issue-75883.rs:15:42
40 LL | pub fn interact(&mut self) -> Result<_> {
41 | ^ not allowed in type signatures
43 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
44 --> $DIR/issue-75883.rs:6:28
46 LL | pub fn run() -> Result<_> {
47 | ^ not allowed in type signatures
49 error: aborting due to 4 previous errors
51 Some errors have detailed explanations: E0107, E0121.
52 For more information about an error, try `rustc --explain E0107`.