only use #[no_core] in libcore
This commit is contained in:
parent
dd5b1de181
commit
f792baba42
211 changed files with 6 additions and 810 deletions
|
|
@ -8,9 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
use core::to_bytes;
|
||||
use core::to_str::ToStr;
|
||||
|
||||
#[deriving(Eq)]
|
||||
pub enum Abi {
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use abi::AbiSet;
|
||||
use ast::*;
|
||||
use ast;
|
||||
|
|
@ -22,10 +20,7 @@ use parse::token::ident_interner;
|
|||
use print::pprust;
|
||||
use visit;
|
||||
|
||||
use core::cmp;
|
||||
use core::hashmap::HashMap;
|
||||
use core::str;
|
||||
use core::vec;
|
||||
|
||||
pub enum path_elt {
|
||||
path_mod(ident),
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast::*;
|
||||
use ast;
|
||||
use ast_util;
|
||||
|
|
@ -18,12 +16,7 @@ use parse::token;
|
|||
use visit;
|
||||
use opt_vec;
|
||||
|
||||
use core::int;
|
||||
use core::option;
|
||||
use core::str;
|
||||
use core::to_bytes;
|
||||
use core::vec;
|
||||
|
||||
|
||||
pub fn path_name_i(idents: &[ident], intr: @token::ident_interner) -> ~str {
|
||||
// FIXME: Bad copies (#2543 -- same for everything else that says "bad")
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
// Functions dealing with attributes and meta_items
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::{spanned, dummy_spanned};
|
||||
use attr;
|
||||
|
|
@ -19,7 +17,6 @@ use codemap::BytePos;
|
|||
use diagnostic::span_handler;
|
||||
use parse::comments::{doc_comment_style, strip_doc_comment_decoration};
|
||||
|
||||
use core::vec;
|
||||
use core::hashmap::HashSet;
|
||||
use std;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,12 +21,7 @@ source code snippets, etc.
|
|||
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use core::cmp;
|
||||
use core::str;
|
||||
use core::to_bytes;
|
||||
use core::uint;
|
||||
use std::serialize::{Encodable, Decodable, Encoder, Decoder};
|
||||
|
||||
pub trait Pos {
|
||||
|
|
|
|||
|
|
@ -8,16 +8,9 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use codemap::{Pos, span};
|
||||
use codemap;
|
||||
|
||||
use core::io::WriterUtil;
|
||||
use core::io;
|
||||
use core::str;
|
||||
use core::vec;
|
||||
|
||||
use std::term;
|
||||
|
||||
pub type Emitter = @fn(cmsp: Option<(@codemap::CodeMap, span)>,
|
||||
|
|
|
|||
|
|
@ -8,14 +8,10 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Inline assembly support.
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::span;
|
||||
use ext::base;
|
||||
|
|
|
|||
|
|
@ -88,8 +88,6 @@ node twice.
|
|||
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use ast_util;
|
||||
use attr;
|
||||
|
|
@ -101,8 +99,6 @@ use opt_vec;
|
|||
use opt_vec::OptVec;
|
||||
use ext::build;
|
||||
|
||||
use core::vec;
|
||||
|
||||
// Transitional reexports so qquote can find the paths it is looking for
|
||||
mod syntax {
|
||||
pub use ext;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap;
|
||||
use codemap::{CodeMap, span, ExpnInfo, ExpandedFrom};
|
||||
|
|
@ -19,7 +17,6 @@ use ext;
|
|||
use parse;
|
||||
use parse::token;
|
||||
|
||||
use core::vec;
|
||||
use core::hashmap::HashMap;
|
||||
|
||||
// new-style macro! tt code:
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap;
|
||||
use codemap::span;
|
||||
|
|
@ -18,8 +16,6 @@ use ext::build;
|
|||
|
||||
use opt_vec::OptVec;
|
||||
|
||||
use core::option;
|
||||
|
||||
pub struct Field {
|
||||
ident: ast::ident,
|
||||
ex: @ast::expr
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::span;
|
||||
use ext::base::*;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use ast::*;
|
||||
use ext::base::ext_ctxt;
|
||||
|
|
@ -19,8 +17,6 @@ use codemap::{span, spanned};
|
|||
use ast_util;
|
||||
use opt_vec;
|
||||
|
||||
use core::uint;
|
||||
|
||||
pub fn expand_deriving_decodable(
|
||||
cx: @ext_ctxt,
|
||||
span: span,
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use ast::*;
|
||||
use ext::base::ext_ctxt;
|
||||
|
|
@ -19,8 +17,6 @@ use codemap::{span, spanned};
|
|||
use ast_util;
|
||||
use opt_vec;
|
||||
|
||||
use core::uint;
|
||||
|
||||
pub fn expand_deriving_encodable(
|
||||
cx: @ext_ctxt,
|
||||
span: span,
|
||||
|
|
|
|||
|
|
@ -125,8 +125,6 @@ For `C0(a)` and `C1 {x}` ,
|
|||
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
|
||||
use ast::{
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use ast::*;
|
||||
use ext::base::ext_ctxt;
|
||||
|
|
@ -19,8 +17,6 @@ use codemap::{span, spanned};
|
|||
use ast_util;
|
||||
use opt_vec;
|
||||
|
||||
use core::uint;
|
||||
|
||||
pub fn expand_deriving_iter_bytes(cx: @ext_ctxt,
|
||||
span: span,
|
||||
_mitem: @meta_item,
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@
|
|||
/// The compiler code necessary to implement the #[deriving(Eq)] and
|
||||
/// #[deriving(IterBytes)] extensions.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use ast::{Ty, bind_by_ref, deref, enum_def};
|
||||
use ast::{expr, expr_match, ident, item, item_};
|
||||
|
|
@ -28,8 +26,6 @@ use codemap::{span, respan};
|
|||
use parse::token::special_idents::clownshoes_extensions;
|
||||
use opt_vec;
|
||||
|
||||
use core::uint;
|
||||
|
||||
pub mod clone;
|
||||
pub mod iter_bytes;
|
||||
pub mod encodable;
|
||||
|
|
|
|||
|
|
@ -8,15 +8,12 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
/*
|
||||
* The compiler code necessary to support the env! extension. Eventually this
|
||||
* should all get sucked into either the compiler syntax extension plugin
|
||||
* interface.
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::span;
|
||||
use ext::base::*;
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast::{blk_, attribute_, attr_outer, meta_word};
|
||||
use ast::{crate, expr_, expr_mac, mac_invoc_tt};
|
||||
use ast::{item_mac, stmt_, stmt_mac, stmt_expr, stmt_semi};
|
||||
|
|
@ -22,8 +20,6 @@ use fold::*;
|
|||
use parse;
|
||||
use parse::{parse_item_from_source_str};
|
||||
|
||||
use core::vec;
|
||||
|
||||
pub fn expand_expr(extsbox: @mut SyntaxEnv,
|
||||
cx: @ext_ctxt,
|
||||
e: &expr_,
|
||||
|
|
|
|||
|
|
@ -8,16 +8,12 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* The compiler code necessary to support the fmt! extension. Eventually this
|
||||
* should all get sucked into either the standard library extfmt module or the
|
||||
* compiler syntax extension plugin interface.
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::span;
|
||||
use ext::base::*;
|
||||
|
|
|
|||
|
|
@ -8,9 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::io::WriterUtil;
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap;
|
||||
use ext::base::*;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@
|
|||
// To start with, it will be use dummy spans, but it might someday do
|
||||
// something smarter.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use abi::AbiSet;
|
||||
use ast::ident;
|
||||
use ast;
|
||||
|
|
@ -26,8 +24,6 @@ use ext::quote::rt::*;
|
|||
use opt_vec;
|
||||
use opt_vec::OptVec;
|
||||
|
||||
use core::vec;
|
||||
|
||||
// Transitional reexports so qquote can find the paths it is looking for
|
||||
mod syntax {
|
||||
pub use ext;
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@ that.
|
|||
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::span;
|
||||
use ext::base::ext_ctxt;
|
||||
|
|
|
|||
|
|
@ -37,12 +37,9 @@ updating the states using rule (2) until there are no changes.
|
|||
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ext::base::ext_ctxt;
|
||||
use ext::pipes::proto::protocol;
|
||||
|
||||
use core::str;
|
||||
use std::bitv::Bitv;
|
||||
|
||||
pub fn analyze(proto: protocol, _cx: @ext_ctxt) {
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@ use parse::common::SeqSep;
|
|||
use parse::parser;
|
||||
use parse::token;
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
pub trait proto_parser {
|
||||
fn parse_proto(&self, id: ~str) -> protocol;
|
||||
fn parse_state(&self, proto: protocol);
|
||||
|
|
|
|||
|
|
@ -20,11 +20,6 @@ use ext::quote::rt::*;
|
|||
use opt_vec;
|
||||
use opt_vec::OptVec;
|
||||
|
||||
use core::prelude::*;
|
||||
use core::str;
|
||||
use core::to_str::ToStr;
|
||||
use core::vec;
|
||||
|
||||
pub trait gen_send {
|
||||
fn gen_send(&mut self, cx: @ext_ctxt, try: bool) -> @ast::item;
|
||||
fn to_ty(&mut self, cx: @ext_ctxt) -> @ast::Ty;
|
||||
|
|
|
|||
|
|
@ -8,15 +8,11 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::span;
|
||||
use ext::base::ext_ctxt;
|
||||
use ext::pipes::ast_builder::{append_types, ext_ctxt_ast_builder, path};
|
||||
|
||||
use core::to_str::ToStr;
|
||||
|
||||
#[deriving(Eq)]
|
||||
pub enum direction { send, recv }
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@ use parse::token::*;
|
|||
use parse::token;
|
||||
use parse;
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
/**
|
||||
*
|
||||
* Quasiquoting works via token trees.
|
||||
|
|
@ -36,7 +34,6 @@ pub mod rt {
|
|||
use parse;
|
||||
use print::pprust;
|
||||
|
||||
use core::prelude::*;
|
||||
use core::str;
|
||||
|
||||
pub use ast::*;
|
||||
|
|
|
|||
|
|
@ -18,12 +18,6 @@ use ext::build::{mk_base_vec_e, mk_uint, mk_u8, mk_base_str};
|
|||
use parse;
|
||||
use print::pprust;
|
||||
|
||||
use core::io;
|
||||
use core::prelude::*;
|
||||
use core::result;
|
||||
use core::str;
|
||||
use core::vec;
|
||||
|
||||
// These macros all relate to the file system; they either return
|
||||
// the column/row/filename of the expression, or they include
|
||||
// a given file into the current one.
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::span;
|
||||
use ext::base::ext_ctxt;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ use parse::parser::Parser;
|
|||
use parse::token::{Token, EOF, to_str, nonterminal};
|
||||
use parse::token;
|
||||
|
||||
use core::prelude::*;
|
||||
use core::hashmap::HashMap;
|
||||
|
||||
/* This is an Earley-like parser, without support for in-grammar nonterminals,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast::{ident, matcher_, matcher, match_tok, match_nonterminal, match_seq};
|
||||
use ast::{tt_delim};
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use ast::{token_tree, tt_delim, tt_tok, tt_seq, tt_nonterminal,ident};
|
||||
use codemap::{span, dummy_sp};
|
||||
|
|
@ -19,8 +17,6 @@ use parse::token::{EOF, INTERPOLATED, IDENT, Token, nt_ident, ident_interner};
|
|||
use parse::lexer::TokenAndSpan;
|
||||
|
||||
use core::hashmap::HashMap;
|
||||
use core::option;
|
||||
use core::vec;
|
||||
|
||||
///an unzipping of `token_tree`s
|
||||
struct TtFrame {
|
||||
|
|
|
|||
|
|
@ -8,15 +8,11 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast::*;
|
||||
use ast;
|
||||
use codemap::{span, spanned};
|
||||
use opt_vec::OptVec;
|
||||
|
||||
use core::vec;
|
||||
|
||||
pub trait ast_fold {
|
||||
fn fold_crate(@self, &crate) -> crate;
|
||||
fn fold_view_item(@self, @view_item) -> @view_item;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* other useful things like `push()` and `len()`.
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
use core::iter;
|
||||
use core::iter::BaseIter;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::{BytePos, CharPos, CodeMap, Pos};
|
||||
use diagnostic;
|
||||
|
|
@ -20,12 +18,6 @@ use parse::lexer;
|
|||
use parse::token;
|
||||
use parse;
|
||||
|
||||
use core::io::ReaderUtil;
|
||||
use core::io;
|
||||
use core::str;
|
||||
use core::uint;
|
||||
use core::vec;
|
||||
|
||||
#[deriving(Eq)]
|
||||
pub enum cmnt_style {
|
||||
isolated, // No code on either side of each line of the comment
|
||||
|
|
|
|||
|
|
@ -8,16 +8,12 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::{BytePos, spanned};
|
||||
use parse::lexer::reader;
|
||||
use parse::parser::Parser;
|
||||
use parse::token;
|
||||
|
||||
use core::option::{None, Option, Some};
|
||||
|
||||
use opt_vec;
|
||||
use opt_vec::OptVec;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use codemap::{BytePos, CharPos, CodeMap, Pos, span};
|
||||
use codemap;
|
||||
|
|
@ -18,11 +16,6 @@ use ext::tt::transcribe::{tt_next_token};
|
|||
use ext::tt::transcribe::{dup_tt_reader};
|
||||
use parse::token;
|
||||
|
||||
use core::char;
|
||||
use core::either;
|
||||
use core::str;
|
||||
use core::u64;
|
||||
|
||||
pub use ext::tt::transcribe::{TtReader, new_tt_reader};
|
||||
|
||||
//use std;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ Obsolete syntax that becomes too hard to parse can be
|
|||
removed.
|
||||
*/
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast::{expr, expr_lit, lit_nil};
|
||||
use ast;
|
||||
|
|
@ -26,7 +25,6 @@ use parse::parser::Parser;
|
|||
use parse::token::Token;
|
||||
use parse::token;
|
||||
|
||||
use core::str;
|
||||
use core::to_bytes;
|
||||
|
||||
/// The specific types of unsupported syntax
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use abi;
|
||||
use abi::AbiSet;
|
||||
use ast::{Sigil, BorrowedSigil, ManagedSigil, OwnedSigil};
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ use ast::*;
|
|||
use parse::token::*;
|
||||
use parse::token::Token;
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
/// Unary operators have higher precedence than binary
|
||||
pub static unop_prec: uint = 100u;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,20 +8,14 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use ast;
|
||||
use ast_util;
|
||||
use parse::token;
|
||||
use util::interner::Interner;
|
||||
use util::interner;
|
||||
|
||||
use core::cast;
|
||||
use core::char;
|
||||
use core::cmp::Equiv;
|
||||
use core::hashmap::HashSet;
|
||||
use core::str;
|
||||
use core::task;
|
||||
use core::to_bytes;
|
||||
|
||||
#[auto_encode]
|
||||
|
|
|
|||
|
|
@ -8,12 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use core::io::WriterUtil;
|
||||
use core::io;
|
||||
use core::vec;
|
||||
|
||||
/*
|
||||
* This pretty-printer is a direct reimplementation of Philip Karlton's
|
||||
* Mesa pretty-printer, as described in appendix A of
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use abi::AbiSet;
|
||||
use ast::{RegionTyParamBound, TraitTyParamBound, required, provided};
|
||||
|
|
@ -29,12 +28,6 @@ use print::pp::{breaks, consistent, inconsistent, eof};
|
|||
use print::pp;
|
||||
use print::pprust;
|
||||
|
||||
use core::char;
|
||||
use core::io;
|
||||
use core::str;
|
||||
use core::u64;
|
||||
use core::vec;
|
||||
|
||||
// The @ps is stored here to prevent recursive type.
|
||||
pub enum ann_node<'self> {
|
||||
node_block(@ps, &'self ast::blk),
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@
|
|||
vers = "0.7-pre",
|
||||
uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")];
|
||||
|
||||
|
||||
|
||||
#[license = "MIT/ASL2"];
|
||||
#[crate_type = "lib"];
|
||||
|
||||
|
|
@ -22,13 +20,8 @@
|
|||
#[deny(deprecated_mode)];
|
||||
#[deny(deprecated_pattern)];
|
||||
|
||||
#[no_core];
|
||||
|
||||
extern mod core(vers = "0.7-pre");
|
||||
extern mod std(vers = "0.7-pre");
|
||||
|
||||
use core::*;
|
||||
|
||||
// allow the interner_key macro
|
||||
// to escape this module:
|
||||
#[macro_escape]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
// allow the interner_key macro to escape this module:
|
||||
#[macro_escape];
|
||||
|
||||
use core::prelude::*;
|
||||
use core::cmp::Equiv;
|
||||
use core::hashmap::HashMap;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use abi::AbiSet;
|
||||
use ast::*;
|
||||
use ast;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue