Parse and reserve typeof keyword. #3228

This commit is contained in:
Ben Blum
2013-08-22 17:00:02 -04:00
parent 2c0f9bd354
commit e9f6f3f2cc
10 changed files with 43 additions and 4 deletions

View File

@@ -775,6 +775,7 @@ pub enum ty_ {
ty_tup(~[Ty]),
ty_path(Path, Option<OptVec<TyParamBound>>, NodeId), // for #7264; see above
ty_mac(mac),
ty_typeof(@expr),
// ty_infer means the type should be inferred instead of it having been
// specified. This should only appear at the "top level" of a type and not
// nested in one.