Unify associated function parsing.

This commit is contained in:
Mazdak Farrokhzad 2019-12-01 11:07:49 +01:00
parent 10270bcd30
commit 7672bff378
2 changed files with 24 additions and 42 deletions

View file

@ -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.