error: expected type, found `{`
  --> $DIR/removed-syntax-record.rs:1:10
   |
LL | type t = { f: () };
   |          ^ expected type

error: aborting due to previous error