]> git.lizzy.rs Git - rust.git/blobdiff - tests/compile-fail/reallocate-bad-size.rs
Auto merge of #1308 - RalfJung:miri, r=RalfJung
[rust.git] / tests / compile-fail / reallocate-bad-size.rs
index bbdef4421b6c2771dd9bde9a9905565260e601fd..7826f26f9b8c6efc6d0d681eebe158faf42c4608 100644 (file)
@@ -1,4 +1,4 @@
-use std::alloc::{alloc, dealloc, realloc, Layout};
+use std::alloc::{alloc, realloc, Layout};
 
 // error-pattern: allocation has size 1 and alignment 1, but gave size 2 and alignment 1