summaryrefslogtreecommitdiffstats
path: root/tests/run-coverage/async2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-coverage/async2.rs')
-rw-r--r--tests/run-coverage/async2.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/run-coverage/async2.rs b/tests/run-coverage/async2.rs
index 959d48ce9..2884ff297 100644
--- a/tests/run-coverage/async2.rs
+++ b/tests/run-coverage/async2.rs
@@ -1,11 +1,5 @@
// compile-flags: --edition=2018
-use core::{
- future::Future,
- marker::Send,
- pin::Pin,
-};
-
fn non_async_func() {
println!("non_async_func was covered");
let b = true;
@@ -14,9 +8,6 @@ fn non_async_func() {
}
}
-
-
-
async fn async_func() {
println!("async_func was covered");
let b = true;
@@ -25,9 +16,6 @@ async fn async_func() {
}
}
-
-
-
async fn async_func_just_println() {
println!("async_func_just_println was covered");
}