Move #[macro_reexport] to extern crate

This commit is contained in:
Keegan McAllister 2015-01-01 16:37:47 -08:00
parent 60be2f52d2
commit 0816255c80
13 changed files with 53 additions and 71 deletions

View file

@ -10,7 +10,6 @@
#![crate_type = "dylib"]
#![macro_reexport(reexported)]
#[macro_reexport(reexported)]
#[macro_use] #[no_link]
extern crate macro_reexport_1;

View file

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![macro_reexport] //~ ERROR malformed macro_reexport attribute
#[macro_reexport] //~ ERROR bad macro reexport
extern crate std;
fn main() { }

View file

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![macro_reexport="foo"] //~ ERROR malformed macro_reexport attribute
#[macro_reexport="foo"] //~ ERROR bad macro reexport
extern crate std;
fn main() { }

View file

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![macro_reexport(foo="bar")] //~ ERROR malformed macro_reexport attribute
#[macro_reexport(foo="bar")] //~ ERROR bad macro reexport
extern crate std;
fn main() { }