embassy/embassy-executor/tests/ui/nonstatic_ref_elided.stderr
2024-10-20 23:54:17 +02:00

6 lines
180 B
Plaintext

error: Arguments for tasks must live forever. Try using the `'static` lifetime.
--> tests/ui/nonstatic_ref_elided.rs:4:18
|
4 | async fn foo(_x: &u32) {}
| ^