diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-05 14:42:58 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-07 22:32:52 -0800 |
| commit | 6b5d1afeec9ca48c224a8c69d1d3515edf9b1108 (patch) | |
| tree | e4b10d57101890e6e53ef529014920e079427751 /src/librustc/front | |
| parent | 87e44af2f2731ea59207aef456caa391ef230645 (diff) | |
| download | rust-6b5d1afeec9ca48c224a8c69d1d3515edf9b1108.tar.gz rust-6b5d1afeec9ca48c224a8c69d1d3515edf9b1108.zip | |
librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. rs=deexterning
Diffstat (limited to 'src/librustc/front')
| -rw-r--r-- | src/librustc/front/intrinsic.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/librustc/front/intrinsic.rs b/src/librustc/front/intrinsic.rs index 059cd9723e7..cf5c0ffa19b 100644 --- a/src/librustc/front/intrinsic.rs +++ b/src/librustc/front/intrinsic.rs @@ -122,9 +122,13 @@ pub mod intrinsic { fn visit_closure_ptr(&self, ck: uint) -> bool; } - #[abi = "rust-intrinsic"] - pub extern mod rusti { - pub fn get_tydesc<T>() -> *(); - pub fn visit_tydesc(++td: *TyDesc, &&tv: TyVisitor); + pub mod rusti { + use super::{TyDesc, TyVisitor}; + + #[abi = "rust-intrinsic"] + pub extern { + pub fn get_tydesc<T>() -> *(); + pub fn visit_tydesc(++td: *TyDesc, &&tv: TyVisitor); + } } } |
