]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/paths-containing-nul.rs
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / paths-containing-nul.rs
index c9bf710b8e76256df03ca3d318ec120ac46c38f7..cb40c4f6fbf91a2649601336e947b54e0418b0eb 100644 (file)
@@ -1,7 +1,6 @@
 // run-pass
 
 #![allow(deprecated)]
-// ignore-cloudabi no files or I/O
 // ignore-wasm32-bare no files or I/O
 // ignore-emscripten no files
 // ignore-sgx no files
@@ -17,7 +16,7 @@ fn inner(on: &str, result: io::Result<()>) {
                               "{} returned a strange {:?} on a path with NUL", on, e.kind()),
         }
     }
-    inner(on, result.map(|_| ()))
+    inner(on, result.map(drop))
 }
 
 fn main() {