1 error: this file contains an unclosed delimiter
2 --> $DIR/missing-close-brace-in-impl-trait.rs:13:52
10 error: trait is not supported in `trait`s or `impl`s
11 --> $DIR/missing-close-brace-in-impl-trait.rs:7:1
16 = help: consider moving the trait out to a nearby module scope
18 error: struct is not supported in `trait`s or `impl`s
19 --> $DIR/missing-close-brace-in-impl-trait.rs:11:1
21 LL | pub(crate) struct Bar<T>();
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 = help: consider moving the struct out to a nearby module scope
26 error[E0405]: cannot find trait `T` in this scope
27 --> $DIR/missing-close-brace-in-impl-trait.rs:3:6
30 | ^ not found in this scope
32 error: aborting due to 4 previous errors
34 For more information about this error, try `rustc --explain E0405`.