Update for latest rust

Tracks rust nightly.

7 tests fail -- still finding source
This commit is contained in:
cyderize
2015-01-10 18:37:10 +11:00
parent 241ebc1270
commit 122e94c8a6
42 changed files with 291 additions and 189 deletions

View File

@@ -1,4 +1,5 @@
#![feature(slicing_syntax, old_orphan_check)]
#![feature(slicing_syntax, box_syntax, old_orphan_check, old_impl_check)]
#![allow(unstable)]
#![deny(missing_docs)]
#![deny(warnings)]
#![experimental]
@@ -151,14 +152,14 @@ use self::HttpError::{HttpMethodError, HttpUriError, HttpVersionError,
macro_rules! todo(
($($arg:tt)*) => (if cfg!(not(ndebug)) {
log!(5, "TODO: {}", format_args!($($arg)*))
log!(5, "TODO: {:?}", format_args!($($arg)*))
})
);
macro_rules! inspect(
($name:expr, $value:expr) => ({
let v = $value;
debug!("inspect: {} = {}", $name, v);
debug!("inspect: {:?} = {:?}", $name, v);
v
})
);