diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2011-12-08 11:47:01 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2011-12-14 14:32:17 -0800 |
| commit | 941101a9cdcd45e674e8ef57201a99a9d454e89f (patch) | |
| tree | f02c79b4ec97cfe503b95cad9c29b9328a2a6b74 /src/comp/middle | |
| parent | 327ec89f693afcc901bbe3a82b0bb5b5eb1dc44d (diff) | |
| download | rust-941101a9cdcd45e674e8ef57201a99a9d454e89f.tar.gz rust-941101a9cdcd45e674e8ef57201a99a9d454e89f.zip | |
define ty and update parser for sendable lambdas
Diffstat (limited to 'src/comp/middle')
| -rw-r--r-- | src/comp/middle/ty.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/middle/ty.rs b/src/comp/middle/ty.rs index bb6deac5a02..d369e818d47 100644 --- a/src/comp/middle/ty.rs +++ b/src/comp/middle/ty.rs @@ -980,6 +980,7 @@ fn type_kind(cx: ctxt, ty: t) -> ast::kind { alt proto { ast::proto_block. { ast::kind_noncopyable } ast::proto_shared(_) { ast::kind_copyable } + ast::proto_send. { ast::kind_sendable } ast::proto_bare. { ast::kind_sendable } } } |
