1
Fork 0
rust/compiler/rustc_parse
Esteban Küber 7697ce4560 Recover from invalid struct item syntax
Parse unsupported "default field const values":

```rust
struct S {
    field: Type = const_val,
}
```

Recover from small `:` typo and provide suggestion:

```rust
struct S {
    field; Type,
    field2= Type,
}
```
2021-05-11 18:48:57 -07:00
..
src Recover from invalid struct item syntax 2021-05-11 18:48:57 -07:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00