about summary refs log tree commit diff
path: root/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_thread_pool/tests/stack_overflow_crash.rs')
-rw-r--r--compiler/rustc_thread_pool/tests/stack_overflow_crash.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs b/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs
index 49c9ca1d75e..805b6d8ee3f 100644
--- a/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs
+++ b/compiler/rustc_thread_pool/tests/stack_overflow_crash.rs
@@ -1,9 +1,11 @@
+#![allow(unused_crate_dependencies)]
+
 use std::env;
 #[cfg(target_os = "linux")]
 use std::os::unix::process::ExitStatusExt;
 use std::process::{Command, ExitStatus, Stdio};
 
-use rustc_thred_pool::ThreadPoolBuilder;
+use rustc_thread_pool::ThreadPoolBuilder;
 
 fn force_stack_overflow(depth: u32) {
     let mut buffer = [0u8; 1024 * 1024];