2020-01-03 07:40:15 -06:00
|
|
|
error: this file contains an unclosed delimiter
|
2020-08-13 23:15:36 -05:00
|
|
|
--> $DIR/missing-close-brace-in-struct.rs:13:65
|
2019-10-25 20:30:02 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) struct Bar<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
|
|
|
|
|
|
|
error: expected identifier, found keyword `trait`
|
|
|
|
--> $DIR/missing-close-brace-in-struct.rs:4:1
|
|
|
|
|
|
2022-09-26 09:13:38 -05:00
|
|
|
LL | pub(crate) struct Bar<T> {
|
|
|
|
| --- while parsing this struct
|
|
|
|
...
|
2019-10-25 20:30:02 -05:00
|
|
|
LL | trait T {
|
|
|
|
| ^^^^^ expected identifier, found keyword
|
|
|
|
|
2020-08-13 23:15:36 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2019-10-25 20:30:02 -05:00
|
|
|
|