diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-12-13 16:25:51 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-12-13 16:34:50 -0800 |
| commit | fa9ad984fb2f013baebdbe01a42baa3b9101dd84 (patch) | |
| tree | 49115690e45ca322337b93f25308cd618f85b013 /src/comp/front | |
| parent | 32087f5c2a35bf8050067c22a57fd60269633a60 (diff) | |
| download | rust-fa9ad984fb2f013baebdbe01a42baa3b9101dd84.tar.gz rust-fa9ad984fb2f013baebdbe01a42baa3b9101dd84.zip | |
Copy first batch of material from libstd to libcore.
Diffstat (limited to 'src/comp/front')
| -rw-r--r-- | src/comp/front/attr.rs | 3 | ||||
| -rw-r--r-- | src/comp/front/config.rs | 2 | ||||
| -rw-r--r-- | src/comp/front/test.rs | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/comp/front/attr.rs b/src/comp/front/attr.rs index 86864dc450e..0f0d21f695b 100644 --- a/src/comp/front/attr.rs +++ b/src/comp/front/attr.rs @@ -1,6 +1,7 @@ // Functions dealing with attributes and meta_items -import std::{either, vec, map, option}; +import core::{either, vec, option}; +import std::map; import syntax::{ast, ast_util}; import driver::session; diff --git a/src/comp/front/config.rs b/src/comp/front/config.rs index 955510864ea..f58f8d0b97a 100644 --- a/src/comp/front/config.rs +++ b/src/comp/front/config.rs @@ -1,4 +1,4 @@ -import std::{vec, option}; +import core::{vec, option}; import syntax::{ast, fold}; import attr; diff --git a/src/comp/front/test.rs b/src/comp/front/test.rs index d128cdfac14..4756ee0b83e 100644 --- a/src/comp/front/test.rs +++ b/src/comp/front/test.rs @@ -1,6 +1,6 @@ // Code that generates a test runner to run all the tests in a crate -import std::{option, vec}; +import core::{option, vec}; import syntax::{ast, ast_util}; import syntax::ast_util::*; //import syntax::ast_util::dummy_sp; |
