diff options
Diffstat (limited to 'src/test/ui/issues/issue-20454.rs')
-rw-r--r-- | src/test/ui/issues/issue-20454.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/issues/issue-20454.rs b/src/test/ui/issues/issue-20454.rs deleted file mode 100644 index 46cae33f1..000000000 --- a/src/test/ui/issues/issue-20454.rs +++ /dev/null @@ -1,13 +0,0 @@ -// check-pass -#![allow(unused_must_use)] -use std::thread; - -fn _foo() { - thread::spawn(move || { // no need for -> () - loop { - println!("hello"); - } - }).join(); -} - -fn main() {} |