]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12017 : FlaPer87/rust/replace-mod-crate, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 14 Feb 2014 00:32:01 +0000 (16:32 -0800)
committerbors <bors@rust-lang.org>
Fri, 14 Feb 2014 00:32:01 +0000 (16:32 -0800)
The first setp for #9880 is to add a new `crate` keyword. This PR does exactly that. I took a chance to refactor `parse_item_foreign_mod` and I broke it down into 2 separate methods to isolate each feature.

The next step will be to push a new stage0 snapshot and then get rid of all `extern mod` around the code.

1  2 
src/librustc/middle/typeck/check/mod.rs
src/librustdoc/clean.rs
src/librustdoc/html/format.rs
src/libsyntax/ext/base.rs
src/libsyntax/ext/expand.rs

Simple merge
Simple merge
Simple merge
Simple merge