Move trans mod items into trans/mod.rs

This commit is contained in:
James Miller 2013-06-13 11:18:58 +12:00 committed by James Miller
parent 998e41a11a
commit 98b1c9e207
2 changed files with 45 additions and 35 deletions

View File

@ -0,0 +1,43 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
pub mod macros;
pub mod inline;
pub mod monomorphize;
pub mod controlflow;
pub mod glue;
pub mod datum;
pub mod write_guard;
pub mod callee;
pub mod expr;
pub mod common;
pub mod consts;
pub mod type_of;
pub mod build;
pub mod base;
pub mod _match;
pub mod uniq;
pub mod closure;
pub mod tvec;
pub mod meth;
pub mod cabi;
pub mod cabi_x86;
pub mod cabi_x86_64;
pub mod cabi_arm;
pub mod cabi_mips;
pub mod foreign;
pub mod reflect;
pub mod shape;
pub mod debuginfo;
pub mod type_use;
pub mod reachable;
pub mod machine;
pub mod adt;
pub mod asm;

View File

@ -61,41 +61,8 @@ use syntax::codemap;
use syntax::diagnostic;
pub mod middle {
pub mod trans {
pub mod macros;
pub mod inline;
pub mod monomorphize;
pub mod controlflow;
pub mod glue;
pub mod datum;
pub mod write_guard;
pub mod callee;
pub mod expr;
pub mod common;
pub mod consts;
pub mod type_of;
pub mod build;
pub mod base;
pub mod _match;
pub mod uniq;
pub mod closure;
pub mod tvec;
pub mod meth;
pub mod cabi;
pub mod cabi_x86;
pub mod cabi_x86_64;
pub mod cabi_arm;
pub mod cabi_mips;
pub mod foreign;
pub mod reflect;
pub mod shape;
pub mod debuginfo;
pub mod type_use;
pub mod reachable;
pub mod machine;
pub mod adt;
pub mod asm;
}
#[path = "trans/mod.rs"]
pub mod trans;
pub mod ty;
pub mod subst;
pub mod resolve;