aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-11-03 17:10:37 -0700
committerPatrick Walton <[email protected]>2010-11-05 10:23:22 -0700
commit1d214b4df3013a53e50d778fa921ed99bc498d02 (patch)
treec87006304b72bd7fec9962afac5370de4e2d57bd /src/comp/front
parentFix buggy while and do-while translation in rustc. Add test. (diff)
downloadrust-1d214b4df3013a53e50d778fa921ed99bc498d02.tar.xz
rust-1d214b4df3013a53e50d778fa921ed99bc498d02.zip
Move the option type to its own module
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/ast.rs1
-rw-r--r--src/comp/front/parser.rs6
2 files changed, 3 insertions, 4 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs
index e635c119..5511a068 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -1,5 +1,4 @@
-import util.common.option;
import std.map.hashmap;
import std.util.option;
import util.common.span;
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index d42f7b45..e3066436 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -1,8 +1,8 @@
import std._io;
-import std.util.option;
-import std.util.some;
-import std.util.none;
+import std.option.some;
+import std.option.none;
import std.map.hashmap;
+import std.util.option;
import driver.session;
import util.common;