macro syntax changes

This commit is contained in:
Robin Gloster
2015-01-07 21:30:03 +01:00
parent 2dd55d7ae0
commit da0597510a
2 changed files with 4 additions and 8 deletions

View File

@@ -1,7 +1,5 @@
#![feature(macro_rules, phase)]
extern crate hyper;
#[phase(plugin, link)] extern crate log;
#[macro_use] extern crate log;
use std::io::util::copy;
use std::io::net::ip::Ipv4Addr;

View File

@@ -1,6 +1,4 @@
#![feature(macro_rules, phase, default_type_params,
slicing_syntax, globs, associated_types,
old_orphan_check)]
#![feature(slicing_syntax, old_orphan_check)]
#![deny(missing_docs)]
#![deny(warnings)]
#![experimental]
@@ -131,7 +129,7 @@ extern crate "rustc-serialize" as serialize;
extern crate time;
extern crate url;
extern crate openssl;
#[phase(plugin,link)] extern crate log;
#[macro_use] extern crate log;
#[cfg(test)] extern crate test;
extern crate "unsafe-any" as uany;
extern crate cookie;
@@ -166,7 +164,7 @@ macro_rules! inspect(
);
#[cfg(test)]
#[macro_escape]
#[macro_use]
mod mock;
pub mod client;