diff --git a/src/lib.rs b/src/lib.rs index a21e6b91..19f79cf4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -153,7 +153,7 @@ use self::HttpError::{HttpMethodError, HttpUriError, HttpVersionError, macro_rules! todo( ($($arg:tt)*) => (if cfg!(not(ndebug)) { - log!(5, "TODO: {:?}", format_args!($($arg)*)) + trace!("TODO: {:?}", format_args!($($arg)*)) }) ); @@ -245,6 +245,7 @@ impl FromError for HttpError { } } +#[allow(unconditional_recursion)] fn _assert_send() { _assert_send::>(); _assert_send::();