#[marker]
: overlapping impls misinteract with lifetimes
#89515
Labels
A-lifetimes
Area: Lifetimes / regions
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
F-marker_trait_attr
`#![feature(marker_trait_attr)]`
requires-nightly
This issue requires a nightly compiler in some way.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
'lt
,&'lt () : Marker
does hold.Instead, this happened:
FWIW, here is the one-sentence description of that error code:
Meta
Happens as of the latest nightly available on the Playground:
1.57.0-nightly
—2021-10-03
Context
This comes from #89357 (review), once reduced to:
which was then further reduced to the initial snippet.
@rustbot modify labels +requires-nightly +F-marker_trait_attr +A-traits +A-lifetimes
The text was updated successfully, but these errors were encountered: