rust-analyzer/crates
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
..
base_db feat: Make unqualified derive attributes flyimportable 2021-10-29 14:51:26 +02:00
cfg Set MSRV 2021-10-23 15:07:11 +03:00
flycheck Set MSRV 2021-10-23 15:07:11 +03:00
hir feat: Make unqualified derive attributes flyimportable 2021-10-29 14:51:26 +02:00
hir_def feat: Make unqualified derive attributes flyimportable 2021-10-29 14:51:26 +02:00
hir_expand Merge #10648 2021-10-29 13:13:12 +00:00
hir_ty Merge #10668 2021-10-30 14:42:53 +00:00
ide Enable auto-import and qualify-path in derive attributes 2021-10-28 18:40:38 +02:00
ide_assists Enable auto-import and qualify-path in derive attributes 2021-10-28 18:40:38 +02:00
ide_completion feat: Make unqualified derive attributes flyimportable 2021-10-29 14:51:26 +02:00
ide_db Refactor ide handling for paths in derive inputs 2021-10-28 16:47:19 +02:00
ide_diagnostics Set MSRV 2021-10-23 15:07:11 +03:00
ide_ssr Set MSRV 2021-10-23 15:07:11 +03:00
limit Drop resolver and authors manifest entries 2021-10-25 18:12:40 +03:00
mbe internal: replace L_DOLLAR/R_DOLLAR with parenthesis hack 2021-10-23 20:44:31 +03:00
parser Handle pub tuple fields in tuple structs 2021-11-10 21:29:50 +01:00
paths Set MSRV 2021-10-23 15:07:11 +03:00
proc_macro_api Bump object avoid a duplicate dependency 2021-10-30 09:02:45 +03:00
proc_macro_srv Bump object avoid a duplicate dependency 2021-10-30 09:02:45 +03:00
proc_macro_test Set MSRV 2021-10-23 15:07:11 +03:00
profile Set MSRV 2021-10-23 15:07:11 +03:00
project_model Set MSRV 2021-10-23 15:07:11 +03:00
rust-analyzer Fix Plaintext textDocument/hover 2021-10-29 18:23:47 +03:00
sourcegen Set MSRV 2021-10-23 15:07:11 +03:00
stdx Set MSRV 2021-10-23 15:07:11 +03:00
syntax Handle pub tuple fields in tuple structs 2021-11-10 21:29:50 +01:00
test_utils Set MSRV 2021-10-23 15:07:11 +03:00
text_edit Set MSRV 2021-10-23 15:07:11 +03:00
toolchain Set MSRV 2021-10-23 15:07:11 +03:00
tt Set MSRV 2021-10-23 15:07:11 +03:00
vfs Set MSRV 2021-10-23 15:07:11 +03:00
vfs-notify Set MSRV 2021-10-23 15:07:11 +03:00