You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use a reference in the context, it doesn't have the right lifetime.
error[E0106]: missing lifetime specifier
--> src/main.rs:371:10
|
371 | #[derive(DekuRead, DekuWrite)]
| ^^^^^^^^ expected named lifetime parameter
|
= help: this function's return type contains a borrowed value, but the signature does not say which one of `__deku_input_bits`'s 2 lifetimes it is borrowed from
= note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info)
Could this be fixed by not using lifetime elision in deku_read? Something like this?
When I use a reference in the context, it doesn't have the right lifetime.
Could this be fixed by not using lifetime elision in deku_read? Something like this?
The text was updated successfully, but these errors were encountered: