aboutsummaryrefslogtreecommitdiff
path: root/src/comp/util/common.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-10-15 22:09:09 -0700
committerGraydon Hoare <[email protected]>2010-10-15 22:09:09 -0700
commit57c7e94c8f8d456c1737bd7dd2bf5c6962003cd0 (patch)
tree3eea63d46aa8f01562bf02c33eca1e243df26470 /src/comp/util/common.rs
parentFinish the fold drivers in fold.rs. (diff)
downloadrust-57c7e94c8f8d456c1737bd7dd2bf5c6962003cd0.tar.xz
rust-57c7e94c8f8d456c1737bd7dd2bf5c6962003cd0.zip
Encode and decode tag types in dwarf properly. Add list module to std. Shift rustc to use std.util.option. Fix various dependent bugs. Closes #73.
Diffstat (limited to 'src/comp/util/common.rs')
-rw-r--r--src/comp/util/common.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/comp/util/common.rs b/src/comp/util/common.rs
index 51dbfbb1..cbf7aadf 100644
--- a/src/comp/util/common.rs
+++ b/src/comp/util/common.rs
@@ -5,14 +5,6 @@ type pos = rec(uint line, uint col);
type span = rec(str filename, pos lo, pos hi);
type spanned[T] = rec(T node, span span);
-// FIXME: import std.util.option and use it here.
-// import std.util.option;
-
-tag option[T] {
- none;
- some(T);
-}
-
tag ty_mach {
ty_i8;
ty_i16;