existential impl Trait gets seriously confused about lifetimes, "impl T + 'static" does not satisfy static lifetime #53791
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-impl-trait
Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
A-lifetimes
Area: Lifetimes / regions
NLL-diagnostics
Working towards the "diagnostic parity" goal
This is simplified from some real code I have.
The boxed versions compile fine, but the impl Trait version fails with
I see this on both stable and 1.30.0-nightly (7061b27 2018-08-28).
The text was updated successfully, but these errors were encountered: