libsyntax: Remove extern mod foo { ... } from the language.
This commit is contained in:
parent
830b945a9d
commit
06ef889cdc
9 changed files with 160 additions and 146 deletions
|
|
@ -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!() }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue