Implement type ascription.
This commit is contained in:
committed by
Vadim Petrochenkov
parent
ce7bc51933
commit
b8157cc67f
@@ -943,6 +943,7 @@ pub enum Expr_ {
|
||||
ExprLit(P<Lit>),
|
||||
/// A cast (`foo as f64`)
|
||||
ExprCast(P<Expr>, P<Ty>),
|
||||
ExprType(P<Expr>, P<Ty>),
|
||||
/// An `if` block, with an optional else block
|
||||
///
|
||||
/// `if expr { block } else { expr }`
|
||||
|
||||
Reference in New Issue
Block a user