Unify associated function parsing.
This commit is contained in:
parent
10270bcd30
commit
7672bff378
2 changed files with 24 additions and 42 deletions
|
@ -1640,6 +1640,7 @@ pub enum AssocItemKind {
|
|||
Const(P<Ty>, Option<P<Expr>>),
|
||||
|
||||
/// An associated function.
|
||||
/// FIXME(Centril): Rename to `Fn`.
|
||||
Method(FnSig, Option<P<Block>>),
|
||||
|
||||
/// An associated type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue