1 error: this file contains an unclosed delimiter
2 --> $DIR/missing-close-brace-in-trait.rs:12:65
10 error: struct is not supported in `trait`s or `impl`s
11 --> $DIR/missing-close-brace-in-trait.rs:4:1
13 LL | pub(crate) struct Bar<T>();
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = help: consider moving the struct out to a nearby module scope
18 error: implementation is not supported in `trait`s or `impl`s
19 --> $DIR/missing-close-brace-in-trait.rs:7:1
21 LL | impl T for Bar<usize> {
22 | ^^^^^^^^^^^^^^^^^^^^^
24 = help: consider moving the implementation out to a nearby module scope
26 error: aborting due to 3 previous errors