about summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/ast.rs2
-rw-r--r--src/comp/syntax/ast_util.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs
index d452ffe4a6d..4caddb5e25b 100644
--- a/src/comp/syntax/ast.rs
+++ b/src/comp/syntax/ast.rs
@@ -98,8 +98,6 @@ tag pat_ {
     pat_box(@pat);
 }
 
-type pat_id_map = std::map::hashmap<str, ast::node_id>;
-
 tag mutability { mut; imm; maybe_mut; }
 
 tag kind { kind_pinned; kind_shared; kind_unique; }
diff --git a/src/comp/syntax/ast_util.rs b/src/comp/syntax/ast_util.rs
index e89889fa027..74c3d6dac49 100644
--- a/src/comp/syntax/ast_util.rs
+++ b/src/comp/syntax/ast_util.rs
@@ -43,6 +43,8 @@ fn def_id_of_def(d: def) -> def_id {
     }
 }
 
+type pat_id_map = std::map::hashmap<str, ast::node_id>;
+
 // This is used because same-named variables in alternative patterns need to
 // use the node_id of their namesake in the first pattern.
 fn pat_id_map(pat: &@pat) -> pat_id_map {