error: this file contains an unclosed delimiter --> $DIR/missing-close-brace-in-struct.rs:13:65 | LL | pub(crate) struct Bar { | - unclosed delimiter ... LL | fn main() {} | ^ error: expected identifier, found keyword `trait` --> $DIR/missing-close-brace-in-struct.rs:4:1 | LL | pub(crate) struct Bar { | --- while parsing this struct ... LL | trait T { | ^^^^^ expected identifier, found keyword error: aborting due to 2 previous errors