diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2021-05-01 12:58:15 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2021-05-11 18:48:57 -0700 |
| commit | 7697ce4560b7799f5fb7e48524b5a347ba893b4e (patch) | |
| tree | b0b0ff87e0ac2fb1e7b72bafa3a03a10ddfcee6f /src/librustdoc/html/static/source-script.js | |
| parent | 890803d3722b5cf8810ae1f49b4d9f062a87c927 (diff) | |
| download | rust-7697ce4560b7799f5fb7e48524b5a347ba893b4e.tar.gz rust-7697ce4560b7799f5fb7e48524b5a347ba893b4e.zip | |
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,
}
```
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions
