rust-analyzer/crates/parser/src
bors 93c52e41ec Auto merge of #13160 - ChayimFriedman2:parse-parenthesized-type-path-with-coloncolon, r=jonas-schievink
fix: Parse TypePathFn with preceding `::`

e.g. `impl Fn::() -> ()`.

Fixes #13157. This was the problem, not that the path was not at the end.

I could unify the parsing of `::` of TypePathFn with that of generic arg list, but some code relies on the `::` of generic arg list to be inside it.
2022-09-01 21:00:14 +00:00
..
grammar Parse TypePathFn with preceding :: 2022-08-31 23:19:09 +00:00
syntax_kind regenerate files with new syntax 2022-08-07 17:38:20 +05:30
tests Update tests 2022-02-21 08:34:35 +02:00
event.rs internal: rename 2021-12-25 22:02:26 +03:00
grammar.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
input.rs internal: rename 2021-12-25 22:02:26 +03:00
lexed_str.rs Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink" 2022-05-13 15:08:14 +02:00
lib.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
output.rs internal: add tests for extra parser entry points 2021-12-29 18:28:11 +03:00
parser.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
shortcuts.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
syntax_kind.rs minor: modernize 2021-09-06 18:54:16 +03:00
tests.rs Bring back syntax highlighting in test data 2022-03-06 08:43:18 +00:00
token_set.rs Add semicolons for consistency 2021-10-03 23:39:43 +11:00