about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-27 20:13:22 -0700
committerbors <bors@rust-lang.org>2013-07-27 20:13:22 -0700
commit3078e83c3f1a643ddbdefa78095e4fbda3cecc02 (patch)
treeaf47e13ba18448d4ea1b4d9b93e567565bfc2df7 /src
parent82b29ae5a583366d30e8052cab390fce031ab708 (diff)
parent8d654fc41d0c69eaaa78409e8d42318a478b7c83 (diff)
downloadrust-3078e83c3f1a643ddbdefa78095e4fbda3cecc02.tar.gz
rust-3078e83c3f1a643ddbdefa78095e4fbda3cecc02.zip
auto merge of #8076 : omasanori/rust/cleanup, r=huonw
A cleanup suggested on #7922.
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/borrowck/mod.rs1
-rw-r--r--src/librustc/middle/typeck/infer/mod.rs1
-rw-r--r--src/librustc/middle/typeck/mod.rs2
-rw-r--r--src/librustc/rustc.rs6
-rw-r--r--src/libstd/rt/mod.rs2
-rw-r--r--src/libstd/std.rs3
-rw-r--r--src/libsyntax/syntax.rs3
7 files changed, 0 insertions, 18 deletions
diff --git a/src/librustc/middle/borrowck/mod.rs b/src/librustc/middle/borrowck/mod.rs
index bf9b4fcaedf..de06f267e1e 100644
--- a/src/librustc/middle/borrowck/mod.rs
+++ b/src/librustc/middle/borrowck/mod.rs
@@ -43,7 +43,6 @@ pub mod doc;
 
 pub mod check_loans;
 
-#[path="gather_loans/mod.rs"]
 pub mod gather_loans;
 
 pub mod move_data;
diff --git a/src/librustc/middle/typeck/infer/mod.rs b/src/librustc/middle/typeck/infer/mod.rs
index eb32f4e59f0..f619135d82b 100644
--- a/src/librustc/middle/typeck/infer/mod.rs
+++ b/src/librustc/middle/typeck/infer/mod.rs
@@ -52,7 +52,6 @@ pub mod combine;
 pub mod glb;
 pub mod lattice;
 pub mod lub;
-#[path = "region_inference/mod.rs"]
 pub mod region_inference;
 pub mod resolve;
 pub mod sub;
diff --git a/src/librustc/middle/typeck/mod.rs b/src/librustc/middle/typeck/mod.rs
index 0ea00e15863..996ed8cb1af 100644
--- a/src/librustc/middle/typeck/mod.rs
+++ b/src/librustc/middle/typeck/mod.rs
@@ -66,11 +66,9 @@ use syntax::print::pprust::*;
 use syntax::{ast, ast_map, abi};
 use syntax::opt_vec;
 
-#[path = "check/mod.rs"]
 pub mod check;
 pub mod rscope;
 pub mod astconv;
-#[path = "infer/mod.rs"]
 pub mod infer;
 pub mod collect;
 pub mod coherence;
diff --git a/src/librustc/rustc.rs b/src/librustc/rustc.rs
index 39fbdb92a2f..6604a8bc74b 100644
--- a/src/librustc/rustc.rs
+++ b/src/librustc/rustc.rs
@@ -41,18 +41,15 @@ use syntax::codemap;
 use syntax::diagnostic;
 
 pub mod middle {
-    #[path = "trans/mod.rs"]
     pub mod trans;
     pub mod ty;
     pub mod subst;
     pub mod resolve;
-    #[path = "typeck/mod.rs"]
     pub mod typeck;
     pub mod check_loop;
     pub mod check_match;
     pub mod check_const;
     pub mod lint;
-    #[path = "borrowck/mod.rs"]
     pub mod borrowck;
     pub mod dataflow;
     pub mod mem_categorization;
@@ -70,7 +67,6 @@ pub mod middle {
     pub mod effect;
     pub mod reachable;
     pub mod graph;
-    #[path = "cfg/mod.rs"]
     pub mod cfg;
 }
 
@@ -93,10 +89,8 @@ pub mod back {
     pub mod passes;
 }
 
-#[path = "metadata/mod.rs"]
 pub mod metadata;
 
-#[path = "driver/mod.rs"]
 pub mod driver;
 
 pub mod util {
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs
index 4eaf772d41a..808d07ce77d 100644
--- a/src/libstd/rt/mod.rs
+++ b/src/libstd/rt/mod.rs
@@ -90,14 +90,12 @@ mod kill;
 mod sched;
 
 /// Synchronous I/O.
-#[path = "io/mod.rs"]
 pub mod io;
 
 /// The EventLoop and internal synchronous I/O interface.
 mod rtio;
 
 /// libuv and default rtio implementation.
-#[path = "uv/mod.rs"]
 pub mod uv;
 
 /// The Local trait for types that are accessible via thread-local
diff --git a/src/libstd/std.rs b/src/libstd/std.rs
index bbbc1702c62..76d65192e01 100644
--- a/src/libstd/std.rs
+++ b/src/libstd/std.rs
@@ -162,7 +162,6 @@ pub mod trie;
 
 /* Tasks and communication */
 
-#[path = "task/mod.rs"]
 pub mod task;
 pub mod comm;
 pub mod pipes;
@@ -190,7 +189,6 @@ pub mod util;
 /* Unsupported interfaces */
 
 // Private APIs
-#[path = "unstable/mod.rs"]
 pub mod unstable;
 
 /* For internal use, not exported */
@@ -202,7 +200,6 @@ mod stackwalk;
 
 // XXX: This shouldn't be pub, and it should be reexported under 'unstable'
 // but name resolution doesn't work without it being pub.
-#[path = "rt/mod.rs"]
 pub mod rt;
 
 // A curious inner-module that's not exported that contains the binding
diff --git a/src/libsyntax/syntax.rs b/src/libsyntax/syntax.rs
index 3384dabeab7..ae2aa6ae738 100644
--- a/src/libsyntax/syntax.rs
+++ b/src/libsyntax/syntax.rs
@@ -45,7 +45,6 @@ pub mod visit;
 pub mod fold;
 
 
-#[path = "parse/mod.rs"]
 pub mod parse;
 
 pub mod print {
@@ -60,7 +59,6 @@ pub mod ext {
 
     pub mod quote;
 
-    #[path = "deriving/mod.rs"]
     pub mod deriving;
 
     pub mod build;
@@ -80,7 +78,6 @@ pub mod ext {
     pub mod auto_encode;
     pub mod source_util;
 
-    #[path = "pipes/mod.rs"]
     pub mod pipes;
 
     pub mod trace_macros;