fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: this file contains an unclosed delimiter 2 --> $DIR/missing-close-brace-in-trait.rs:12:65 3 | 4LL | trait T { 5 | - unclosed delimiter 6... 7LL | fn main() {} 8 | ^ 9 10error: struct is not supported in `trait`s or `impl`s 11 --> $DIR/missing-close-brace-in-trait.rs:4:1 12 | 13LL | pub(crate) struct Bar<T>(); 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 | 16 = help: consider moving the struct out to a nearby module scope 17 18error: implementation is not supported in `trait`s or `impl`s 19 --> $DIR/missing-close-brace-in-trait.rs:7:1 20 | 21LL | impl T for Bar<usize> { 22 | ^^^^^^^^^^^^^^^^^^^^^ 23 | 24 = help: consider moving the implementation out to a nearby module scope 25 26error: aborting due to 3 previous errors 27