From: Matt Corallo Date: Thu, 22 Jul 2021 15:18:22 +0000 (+0000) Subject: Add a `#[macro_use]` on the `alloc` import for `format!()` X-Git-Tag: v0.0.100~15^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2021-07-bump-deps;p=rust-lightning Add a `#[macro_use]` on the `alloc` import for `format!()` --- diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index 144457106..5c414b7b2 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -31,6 +31,7 @@ #![cfg_attr(all(any(test, feature = "_test_utils"), feature = "unstable"), feature(test))] #[cfg(all(any(test, feature = "_test_utils"), feature = "unstable"))] extern crate test; +#[macro_use] extern crate alloc; extern crate bitcoin; extern crate core;