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: expected identifier, found keyword `fn`
8 --> $DIR/fn-field-parse-error-ice.rs:4:17
11 | --- while parsing this struct
12 LL | inner : dyn fn ()
13 | ^^ expected identifier, found keyword
15 help: escape `fn` to use it as an identifier
17 LL | inner : dyn r#fn ()
20 error[E0412]: cannot find type `dyn` in this scope
21 --> $DIR/fn-field-parse-error-ice.rs:4:13
23 LL | inner : dyn fn ()
24 | ^^^ not found in this scope
26 error: aborting due to 3 previous errors
28 For more information about this error, try `rustc --explain E0412`.