2020-01-03 07:40:15 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:12:65
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | trait T {
|
2020-01-03 07:40:15 -06:00
|
|
|
| - unclosed delimiter
|
2019-10-25 20:30:02 -05:00
|
|
|
...
|
|
|
|
LL | fn main() {}
|
2020-01-03 07:40:15 -06:00
|
|
|
| ^
|
2019-10-25 20:30:02 -05:00
|
|
|
|
2020-02-15 10:35:29 -06:00
|
|
|
error: missing `fn`, `type`, `const`, or `static` for item declaration
|
2020-01-31 23:18:10 -06:00
|
|
|
--> $DIR/missing-close-brace-in-trait.rs:5:11
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) struct Bar<T>();
|
2020-02-15 10:35:29 -06:00
|
|
|
| ^ missing `fn`, `type`, `const`, or `static`
|
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() {}
|
2020-01-03 07:40:15 -06:00
|
|
|
| |________________________________________________________________^ 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`.
|