We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a4c03 commit 578b722Copy full SHA for 578b722
library/core/src/alloc/mod.rs
@@ -42,6 +42,7 @@ impl Error for AllocError {}
42
#[unstable(feature = "allocator_api", issue = "32838")]
43
impl fmt::Display for AllocError {
44
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
45
+ let a = 5;
46
f.write_str("memory allocation failed")
47
}
48
0 commit comments