summary refs log tree commit diff
path: root/src/comp/metadata/decoder.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-11-15 16:45:14 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-18 10:52:28 +0100
commit9cf48d3753e48ec37116d00cd3d4be12b5f71b5a (patch)
tree28a5f1638ca628eb49355cf284e464b273144f2f /src/comp/metadata/decoder.rs
parenteff7fae7b94b75ee075384b98955f45f56420a5f (diff)
Preparation for kind system overhaul
This goes before a snapshot, so that subsequenct patches can make the
transition without breaking the build. Disables kind checking pass, makes
parser accept both new and old-style kind annotation.

Issue #1177
Diffstat (limited to 'src/comp/metadata/decoder.rs')
-rw-r--r--src/comp/metadata/decoder.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/metadata/decoder.rs b/src/comp/metadata/decoder.rs
index 2bba05197f6..b5c32efe66f 100644
--- a/src/comp/metadata/decoder.rs
+++ b/src/comp/metadata/decoder.rs
@@ -116,9 +116,9 @@ fn item_ty_param_kinds(item: ebml::doc) -> [ast::kind] {
         while i < vi.val {
             let k =
                 alt dat[vi.next + i] as char {
-                  'u' { ast::kind_unique }
-                  's' { ast::kind_shared }
-                  'p' { ast::kind_pinned }
+                  's' { ast::kind_sendable }
+                  'c' { ast::kind_copyable }
+                  'a' { ast::kind_noncopyable }
                 };
             ks += [k];
             i += 1u;