]> git.lizzy.rs Git - rust.git/commit
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)
commit89b1686bd7db25b5dd948b1a4d9dfd0c68084c29
treecfde530d295ebf159fc538115565d5ce1409bea3
parent94d453e459107ed1c5d76f693686b29d31cdc58c
parent5deb3c9ca06509ce261f69fd01426825e32d61c1
auto merge of #12017 : FlaPer87/rust/replace-mod-crate, r=alexcrichton

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.
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