-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
#[marker]: overlapping impls misinteract with lifetimes #89515
Copy link
Copy link
Open
Labels
A-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsA-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.F-marker_trait_attr`#![feature(marker_trait_attr)]``#![feature(marker_trait_attr)]`S-bug-has-testStatus: This bug is tracked inside the repo by a `known-bug` test.Status: This bug is tracked inside the repo by a `known-bug` test.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Metadata
Metadata
Assignees
Labels
A-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsA-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.F-marker_trait_attr`#![feature(marker_trait_attr)]``#![feature(marker_trait_attr)]`S-bug-has-testStatus: This bug is tracked inside the repo by a `known-bug` test.Status: This bug is tracked inside the repo by a `known-bug` test.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
I expected to see this happen:
'lt,&'lt () : Markerdoes 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-03Context
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