2020-01-03 08:40:15 -05:00
|
|
|
error: this file contains an unclosed delimiter
|
|
|
|
|
--> $DIR/missing-close-brace-in-struct.rs:14:65
|
2019-10-25 18:30:02 -07:00
|
|
|
|
|
|
|
|
|
LL | pub(crate) struct Bar<T> {
|
2020-01-03 08:40:15 -05:00
|
|
|
| - unclosed delimiter
|
2019-10-25 18:30:02 -07:00
|
|
|
...
|
|
|
|
|
LL | fn main() {}
|
2020-01-03 08:40:15 -05:00
|
|
|
| ^
|
2019-10-25 18:30:02 -07:00
|
|
|
|
|
|
|
|
error: expected identifier, found keyword `trait`
|
|
|
|
|
--> $DIR/missing-close-brace-in-struct.rs:4:1
|
|
|
|
|
|
|
|
|
|
|
LL | trait T {
|
|
|
|
|
| ^^^^^ expected identifier, found keyword
|
|
|
|
|
|
|
|
|
|
error: expected `:`, found `T`
|
|
|
|
|
--> $DIR/missing-close-brace-in-struct.rs:4:7
|
|
|
|
|
|
|
|
|
|
|
LL | trait T {
|
|
|
|
|
| ^ expected `:`
|
|
|
|
|
|
2019-10-28 17:44:20 -07:00
|
|
|
error: aborting due to 3 previous errors
|
2019-10-25 18:30:02 -07:00
|
|
|
|