Use alloc for no_std builds
[rust-lightning] / lightning / src / util / errors.rs
index b47e134efab29524c220c7781bb2d610d72dbf2e..ddcc693b3398e969b364c89b4ee4a73684d33153 100644 (file)
@@ -9,6 +9,7 @@
 
 //! Error types live here.
 
+use alloc::string::String;
 use core::fmt;
 
 /// Indicates an error on the client's part (usually some variant of attempting to use too-low or