about summary refs log tree commit diff
path: root/src/test/ui/threads-sendsync
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2020-07-25 18:36:44 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2020-07-25 18:36:44 +0200
commit79c0db4cc845d6fc995aa3bbc320d89dadd55403 (patch)
treebd16da42b02541b90f6ad90c7a2e3fde59b7d36d /src/test/ui/threads-sendsync
parent73ca84dfa1388dc8628ecb5e28bc8433fbc8b727 (diff)
downloadrust-79c0db4cc845d6fc995aa3bbc320d89dadd55403.tar.gz
rust-79c0db4cc845d6fc995aa3bbc320d89dadd55403.zip
Clean up some uses of logging in ui tests
Diffstat (limited to 'src/test/ui/threads-sendsync')
-rw-r--r--src/test/ui/threads-sendsync/spawning-with-debug.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/threads-sendsync/spawning-with-debug.rs b/src/test/ui/threads-sendsync/spawning-with-debug.rs
index 388d62aa710..9d3487ffb29 100644
--- a/src/test/ui/threads-sendsync/spawning-with-debug.rs
+++ b/src/test/ui/threads-sendsync/spawning-with-debug.rs
@@ -2,7 +2,7 @@
 #![allow(unused_must_use)]
 #![allow(unused_mut)]
 // ignore-windows
-// exec-env:RUSTC_LOG=debug
+// exec-env:RUST_LOG=debug
 // ignore-emscripten no threads support
 
 // regression test for issue #10405, make sure we don't call println! too soon.
@@ -11,5 +11,5 @@ use std::thread::Builder;
 
 pub fn main() {
     let mut t = Builder::new();
-    t.spawn(move|| ());
+    t.spawn(move || ());
 }