tree-sitter-rust
tree-sitter-rust copied to clipboard
Make the turbofish optional in generic functions and types
⚠️ Do not merge yet ⚠️
Refs https://github.com/rust-lang/rfcs/pull/2544
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.
Since the Rust RFC linked in the PR description was closed long ago, I think this PR can be safely closed and deleted.