We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7638f9 commit b24b453Copy full SHA for b24b453
src/libsyntax/ast.rs
@@ -385,6 +385,7 @@ pub type stmt = spanned<stmt_>;
385
386
#[deriving(Eq, Encodable, Decodable)]
387
pub enum stmt_ {
388
+ // could be an item or a local (let) binding:
389
stmt_decl(@decl, node_id),
390
391
// expr without trailing semi-colon (must have unit type):
@@ -414,7 +415,9 @@ pub type decl = spanned<decl_>;
414
415
416
417
pub enum decl_ {
418
+ // a local (let) binding:
419
decl_local(@local),
420
+ // an item binding:
421
decl_item(@item),
422
}
423
0 commit comments