diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-28 14:17:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-28 14:17:11 +0200 |
| commit | 634e2daaa5f02a2637a54276442ae0a4984dfded (patch) | |
| tree | 0910c34c24abd21e48f3a8e502fbbc2d38bc7c2d | |
| parent | 4711051b83f9c54d3cb6203cdf8a17c38d99ab7f (diff) | |
| parent | dfe802b929699d8f0a30a669e55da6c7c9dad01d (diff) | |
| download | rust-634e2daaa5f02a2637a54276442ae0a4984dfded.tar.gz rust-634e2daaa5f02a2637a54276442ae0a4984dfded.zip | |
Rollup merge of #60325 - Centril:doc-ast-exprkind-type, r=oli-obk
Document ast::ExprKind::Type r? @oli-obk
| -rw-r--r-- | src/libsyntax/ast.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 334fcfd74f3..a20bf91a6ad 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1137,6 +1137,7 @@ pub enum ExprKind { Lit(Lit), /// A cast (e.g., `foo as f64`). Cast(P<Expr>, P<Ty>), + /// A type ascription (e.g., `42: usize`). Type(P<Expr>, P<Ty>), /// An `if` block, with an optional `else` block. /// |
