1 error: expected parameter name, found `{`
2 --> $DIR/issue-92481.rs:5:6
5 | ^ expected parameter name
7 error: expected one of `,`, `:`, or `}`, found `..`
8 --> $DIR/issue-92481.rs:5:6
11 | ^ unclosed delimiter
16 | help: `}` may belong here
18 error[E0425]: cannot find value `d` in this scope
19 --> $DIR/issue-92481.rs:7:9
22 | ^ not found in this scope
24 error[E0425]: cannot find value `m` in this scope
25 --> $DIR/issue-92481.rs:7:16
28 | ^ not found in this scope
30 error[E0559]: variant `Result<_, _>::Ok` has no field named `d`
31 --> $DIR/issue-92481.rs:7:9
34 | ^ field does not exist
35 --> $SRC_DIR/core/src/result.rs:LL:COL
37 = note: `Result<_, _>::Ok` defined here
39 help: `Result<_, _>::Ok` is a tuple variant, use the appropriate syntax
41 LL | Result<_, _>::Ok(/* fields */)
44 error[E0308]: mismatched types
45 --> $DIR/issue-92481.rs:6:5
48 | - help: a return type might be missing here: `-> _`
52 | |_____^ expected `()`, found enum `Result`
54 = note: expected unit type `()`
55 found enum `Result<_, _>`
57 error: aborting due to 6 previous errors
59 Some errors have detailed explanations: E0308, E0425, E0559.
60 For more information about an error, try `rustc --explain E0308`.