diff --git a/src/async_rt/task/mod.rs b/src/async_rt/task/mod.rs index e0c1b46..bc001e4 100644 --- a/src/async_rt/task/mod.rs +++ b/src/async_rt/task/mod.rs @@ -5,6 +5,7 @@ pub use join_handle::JoinHandle; use std::any::Any; use std::future::Future; +#[track_caller] pub fn spawn(task: T) -> JoinHandle where T: Future + Send + 'static,