2019-10-25 20:30:02 -05:00
|
|
|
error: this file contains an un-closed delimiter
|
2019-11-07 04:26:36 -06:00
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:12:66
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | trait T {
|
|
|
|
| - un-closed delimiter
|
|
|
|
...
|
|
|
|
LL | fn main() {}
|
|
|
|
| ^
|
|
|
|
|
2019-11-30 11:25:44 -06:00
|
|
|
error: expected one of `async`, `const`, `default`, `extern`, `fn`, `type`, or `unsafe`, found keyword `struct`
|
2019-11-07 04:26:36 -06:00
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:5:12
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) struct Bar<T>();
|
2019-11-30 11:25:44 -06:00
|
|
|
| ^^^^^^ expected one of 7 possible tokens
|
2019-11-07 04:26:36 -06:00
|
|
|
|
|
|
|
error[E0601]: `main` function not found in crate `missing_close_brace_in_trait`
|
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:1:1
|
|
|
|
|
|
|
|
|
LL | / trait T {
|
|
|
|
LL | |
|
|
|
|
LL | | fn foo(&self);
|
|
|
|
LL | |
|
|
|
|
... |
|
|
|
|
LL | |
|
|
|
|
LL | | fn main() {}
|
|
|
|
| |_________________________________________________________________^ consider adding a `main` function to `$DIR/missing-close-brace-in-trait.rs`
|
2019-10-25 20:30:02 -05:00
|
|
|
|
2019-11-07 04:26:36 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2019-10-25 20:30:02 -05:00
|
|
|
|
2019-11-07 04:26:36 -06:00
|
|
|
For more information about this error, try `rustc --explain E0601`.
|