Skip to content

Commit 3078e83

Browse files
committed
auto merge of #8076 : omasanori/rust/cleanup, r=huonw
A cleanup suggested on #7922.
2 parents 82b29ae + 8d654fc commit 3078e83

File tree

7 files changed

+0
-18
lines changed

7 files changed

+0
-18
lines changed

src/librustc/middle/borrowck/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ pub mod doc;
4343

4444
pub mod check_loans;
4545

46-
#[path="gather_loans/mod.rs"]
4746
pub mod gather_loans;
4847

4948
pub mod move_data;

src/librustc/middle/typeck/infer/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ pub mod combine;
5252
pub mod glb;
5353
pub mod lattice;
5454
pub mod lub;
55-
#[path = "region_inference/mod.rs"]
5655
pub mod region_inference;
5756
pub mod resolve;
5857
pub mod sub;

src/librustc/middle/typeck/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,9 @@ use syntax::print::pprust::*;
6666
use syntax::{ast, ast_map, abi};
6767
use syntax::opt_vec;
6868

69-
#[path = "check/mod.rs"]
7069
pub mod check;
7170
pub mod rscope;
7271
pub mod astconv;
73-
#[path = "infer/mod.rs"]
7472
pub mod infer;
7573
pub mod collect;
7674
pub mod coherence;

src/librustc/rustc.rs

-6
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,15 @@ use syntax::codemap;
4141
use syntax::diagnostic;
4242

4343
pub mod middle {
44-
#[path = "trans/mod.rs"]
4544
pub mod trans;
4645
pub mod ty;
4746
pub mod subst;
4847
pub mod resolve;
49-
#[path = "typeck/mod.rs"]
5048
pub mod typeck;
5149
pub mod check_loop;
5250
pub mod check_match;
5351
pub mod check_const;
5452
pub mod lint;
55-
#[path = "borrowck/mod.rs"]
5653
pub mod borrowck;
5754
pub mod dataflow;
5855
pub mod mem_categorization;
@@ -70,7 +67,6 @@ pub mod middle {
7067
pub mod effect;
7168
pub mod reachable;
7269
pub mod graph;
73-
#[path = "cfg/mod.rs"]
7470
pub mod cfg;
7571
}
7672

@@ -93,10 +89,8 @@ pub mod back {
9389
pub mod passes;
9490
}
9591

96-
#[path = "metadata/mod.rs"]
9792
pub mod metadata;
9893

99-
#[path = "driver/mod.rs"]
10094
pub mod driver;
10195

10296
pub mod util {

src/libstd/rt/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,12 @@ mod kill;
9090
mod sched;
9191

9292
/// Synchronous I/O.
93-
#[path = "io/mod.rs"]
9493
pub mod io;
9594

9695
/// The EventLoop and internal synchronous I/O interface.
9796
mod rtio;
9897

9998
/// libuv and default rtio implementation.
100-
#[path = "uv/mod.rs"]
10199
pub mod uv;
102100

103101
/// The Local trait for types that are accessible via thread-local

src/libstd/std.rs

-3
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ pub mod trie;
162162

163163
/* Tasks and communication */
164164

165-
#[path = "task/mod.rs"]
166165
pub mod task;
167166
pub mod comm;
168167
pub mod pipes;
@@ -190,7 +189,6 @@ pub mod util;
190189
/* Unsupported interfaces */
191190

192191
// Private APIs
193-
#[path = "unstable/mod.rs"]
194192
pub mod unstable;
195193

196194
/* For internal use, not exported */
@@ -202,7 +200,6 @@ mod stackwalk;
202200

203201
// XXX: This shouldn't be pub, and it should be reexported under 'unstable'
204202
// but name resolution doesn't work without it being pub.
205-
#[path = "rt/mod.rs"]
206203
pub mod rt;
207204

208205
// A curious inner-module that's not exported that contains the binding

src/libsyntax/syntax.rs

-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ pub mod visit;
4545
pub mod fold;
4646

4747

48-
#[path = "parse/mod.rs"]
4948
pub mod parse;
5049

5150
pub mod print {
@@ -60,7 +59,6 @@ pub mod ext {
6059

6160
pub mod quote;
6261

63-
#[path = "deriving/mod.rs"]
6462
pub mod deriving;
6563

6664
pub mod build;
@@ -80,7 +78,6 @@ pub mod ext {
8078
pub mod auto_encode;
8179
pub mod source_util;
8280

83-
#[path = "pipes/mod.rs"]
8481
pub mod pipes;
8582

8683
pub mod trace_macros;

0 commit comments

Comments
 (0)