diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-05-12 17:19:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-12 17:19:25 +0200 |
| commit | 94617802a154560d82f8dc0745219abcd800ff9b (patch) | |
| tree | fd45435a8fa23223fabda5fe6714f6cda0c3ef2b /src/librustdoc/html/static/source-script.js | |
| parent | e1ff91f439bc09f566da211c6449821b4e949279 (diff) | |
| parent | 7697ce4560b7799f5fb7e48524b5a347ba893b4e (diff) | |
| download | rust-94617802a154560d82f8dc0745219abcd800ff9b.tar.gz rust-94617802a154560d82f8dc0745219abcd800ff9b.zip | |
Rollup merge of #84793 - estebank:parse-struct-field-default, r=davidtwco
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
