fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.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: expected one of `async`, `const`, `default`, `extern`, `fn`, `type`, or `unsafe`, found keyword `struct` 11 --> $DIR/missing-close-brace-in-trait.rs:5:12 12 | 13LL | pub(crate) struct Bar<T>(); 14 | ^^^^^^ expected one of 7 possible tokens 15 16error[E0601]: `main` function not found in crate `missing_close_brace_in_trait` 17 --> $DIR/missing-close-brace-in-trait.rs:1:1 18 | 19LL | / trait T { 20LL | | 21LL | | fn foo(&self); 22LL | | 23... | 24LL | | 25LL | | fn main() {} 26 | |________________________________________________________________^ consider adding a `main` function to `$DIR/missing-close-brace-in-trait.rs` 27 28error: aborting due to 3 previous errors 29 30For more information about this error, try `rustc --explain E0601`.