Remove obsolete parse::ast::TypedBody

This commit is contained in:
Richard Feldman 2020-09-07 09:19:25 -04:00
parent c743d031ea
commit 3c39a331d7
4 changed files with 0 additions and 28 deletions

View file

@ -233,12 +233,6 @@ pub enum Def<'a> {
// No need to track that relationship in any data structure.
Body(&'a Loc<Pattern<'a>>, &'a Loc<Expr<'a>>),
TypedBody(
&'a Loc<Pattern<'a>>,
Loc<TypeAnnotation<'a>>,
&'a Loc<Expr<'a>>,
),
// Blank Space (e.g. comments, spaces, newlines) before or after a def.
// We preserve this for the formatter; canonicalization ignores it.
SpaceBefore(&'a Def<'a>, &'a [CommentOrNewline<'a>]),