about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-08-23 15:58:53 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-08-23 15:58:53 -0700
commitc011f131446d3e2cbbb9266bfefc9fd9637f9bd0 (patch)
tree03c739a21ab4e75b5d3c83d7d2d5c84f7daa0bcf /src/comp/syntax/parse
parenta3c8d4a5a58b42db6b8795980992e1063e84f59f (diff)
downloadrust-c011f131446d3e2cbbb9266bfefc9fd9637f9bd0.tar.gz
rust-c011f131446d3e2cbbb9266bfefc9fd9637f9bd0.zip
Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught kinding-violations in rustc and libstd.
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index 495d1372d79..aa553e32e39 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -222,7 +222,7 @@ fn expect_gt(p: &parser) {
     }
 }
 
-fn spanned<T>(lo: uint, hi: uint, node: &T) -> spanned<T> {
+fn spanned<@T>(lo: uint, hi: uint, node: &T) -> spanned<T> {
     ret {node: node, span: ast_util::mk_sp(lo, hi)};
 }