about summary refs log tree commit diff
path: root/src/comp/syntax/ast_util.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2012-02-01 11:54:14 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2012-02-01 12:23:13 +0100
commit2dbaa05af8f2aeef709712725e103836405fa5f5 (patch)
tree9b60a37a5ee7c9d93910e2e8e8c7589730b23d1f /src/comp/syntax/ast_util.rs
parent856a544d0c55ba00ddcc8aa821e642796673c40e (diff)
downloadrust-2dbaa05af8f2aeef709712725e103836405fa5f5.tar.gz
rust-2dbaa05af8f2aeef709712725e103836405fa5f5.zip
Remove support for native types
Issue #1673
Diffstat (limited to 'src/comp/syntax/ast_util.rs')
-rw-r--r--src/comp/syntax/ast_util.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/syntax/ast_util.rs b/src/comp/syntax/ast_util.rs
index 2e6be5d27d9..bdfaee5d4c2 100644
--- a/src/comp/syntax/ast_util.rs
+++ b/src/comp/syntax/ast_util.rs
@@ -30,8 +30,7 @@ fn def_id_of_def(d: def) -> def_id {
       def_fn(id, _) | def_self(id) | def_mod(id) |
       def_native_mod(id) | def_const(id) | def_arg(id, _) | def_local(id, _) |
       def_variant(_, id) | def_ty(id) | def_ty_param(id, _) |
-      def_binding(id) | def_use(id) | def_native_ty(id) |
-      def_upvar(id, _, _) { id }
+      def_binding(id) | def_use(id) | def_upvar(id, _, _) { id }
     }
 }