Skip to content

Commit

Permalink
Expand Rust type and type param grammar
Browse files Browse the repository at this point in the history
Allow type bounds (#279), along with type arguments in the middle of
type paths.

This relies on type inference to pass type variables from `pub rule`
wrappers to the internal parse function. Normally when type variables
are used this works correctly, but may fail for unused type variables,
for example `pub rule ty_arg<T>() = ""`
  • Loading branch information
kevinmehall committed Jan 1, 2022
1 parent cdeb247 commit 4b7dcaa
Show file tree
Hide file tree
Showing 3 changed files with 552 additions and 147 deletions.
Loading

0 comments on commit 4b7dcaa

Please sign in to comment.