rust/crates/syntax/test_data/parser
Adam Bratschi-Kaye 0d54754ca7 Handle pub tuple fields in tuple structs
The current implementation will throw a parser error for tuple structs
that contain a pub tuple field. For example,
```rust
struct Foo(pub (u32, u32));
```
is valid Rust, but rust-analyzer will throw a parser error.  This is
because the parens after `pub` is treated as a visibility context.
Allowing a tuple type to follow `pub` in the special case when we are
defining fields in a tuple struct can fix the issue.
2021-11-10 21:29:50 +01:00
..
err internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
fragments internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00
fuzz-failures a few clippy fixes 2021-10-14 19:57:21 +01:00
inline Handle pub tuple fields in tuple structs 2021-11-10 21:29:50 +01:00
ok internal: more reasonable grammar for blocks 2021-09-26 19:16:09 +03:00