aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/tests/ui/nonstatic_struct_elided.stderr
blob: 099ef8b4e79021efe318241c17df3cbd27305f82 (plain)
1
2
3
4
5
6
7
8
9
10
error[E0726]: implicit elided lifetime not allowed here
 --> tests/ui/nonstatic_struct_elided.rs:6:19
  |
6 | async fn task(_x: Foo) {}
  |                   ^^^ expected lifetime parameter
  |
help: indicate the anonymous lifetime
  |
6 | async fn task(_x: Foo<'_>) {}
  |                      ++++