tree-sitter-rust icon indicating copy to clipboard operation
tree-sitter-rust copied to clipboard

Make the turbofish optional in generic functions and types

Open maxbrunsfeld opened this issue 6 years ago • 1 comments

⚠️ Do not merge yet ⚠️

Refs https://github.com/rust-lang/rfcs/pull/2544

maxbrunsfeld avatar Jan 12 '19 06:01 maxbrunsfeld

This actually simplifies the grammar a bit, and makes the parse table smaller, because types in expression position can now be parsed just like regular types, instead of requiring the turbofish.

maxbrunsfeld avatar Jun 10 '19 21:06 maxbrunsfeld

Since the Rust RFC linked in the PR description was closed long ago, I think this PR can be safely closed and deleted.

ebkalderon avatar Aug 01 '23 14:08 ebkalderon