Skip to content

Getting an error using lifetimes in struct using Task #7

@TJ-alchemist

Description

@TJ-alchemist

Error: return type references an anonymous lifetime, which is not constrained by the fn input types
I'm getting this error in export_task! macro.

These are the notes from the compiler.

= note: lifetimes appearing in an associated type are not considered constrained
= note: this error originates in the macro `$crate::export_task` (in Nightly builds, run with -Z macro-backtrace for more info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions