libsyntax: Remove extern mod foo { ... } from the language.

This commit is contained in:
Patrick Walton 2013-05-09 14:14:42 -07:00
parent 830b945a9d
commit 06ef889cdc
9 changed files with 160 additions and 146 deletions

View file

@ -12,8 +12,10 @@
#[deny(unused_unsafe)];
extern mod foo {
fn bar();
mod foo {
pub extern {
pub fn bar();
}
}
fn callback<T>(_f: &fn() -> T) -> T { fail!() }