Move #[macro_reexport] to extern crate
This commit is contained in:
parent
60be2f52d2
commit
0816255c80
13 changed files with 53 additions and 71 deletions
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#![crate_type = "dylib"]
|
||||
|
||||
#![macro_reexport(reexported)]
|
||||
|
||||
#[macro_reexport(reexported)]
|
||||
#[macro_use] #[no_link]
|
||||
extern crate macro_reexport_1;
|
||||
|
|
|
|||
|
|
@ -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() { }
|
||||
|
|
|
|||
|
|
@ -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() { }
|
||||
|
|
|
|||
|
|
@ -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() { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue