reference grammar: remove procedure_type
This commit is contained in:
parent
0762f58c11
commit
59f2343bdb
1 changed files with 0 additions and 2 deletions
|
|
@ -754,8 +754,6 @@ return_expr : "return" expr ? ;
|
|||
```antlr
|
||||
closure_type := [ 'unsafe' ] [ '<' lifetime-list '>' ] '|' arg-list '|'
|
||||
[ ':' bound-list ] [ '->' type ]
|
||||
procedure_type := 'proc' [ '<' lifetime-list '>' ] '(' arg-list ')'
|
||||
[ ':' bound-list ] [ '->' type ]
|
||||
lifetime-list := lifetime | lifetime ',' lifetime-list
|
||||
arg-list := ident ':' type | ident ':' type ',' arg-list
|
||||
bound-list := bound | bound '+' bound-list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue