1 error: expected `,`, or `}`, found keyword `fn`
2 --> $DIR/fn-field-parse-error-ice.rs:4:16
5 | ^ help: try adding a comma: `,`
7 error: functions are not allowed in struct definitions
8 --> $DIR/fn-field-parse-error-ice.rs:4:17
10 LL | inner : dyn fn ()
13 = help: unlike in C++, Java, and C#, functions are declared in `impl` blocks
14 = help: see https://doc.rust-lang.org/book/ch05-03-method-syntax.html for more information
16 error[E0412]: cannot find type `dyn` in this scope
17 --> $DIR/fn-field-parse-error-ice.rs:4:13
19 LL | inner : dyn fn ()
20 | ^^^ not found in this scope
22 error: aborting due to 3 previous errors
24 For more information about this error, try `rustc --explain E0412`.