-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[nll] spurious outlives requirement in shred-0.7.0 #53121
Copy link
Copy link
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)NLL-completeWorking towards the "valid code works" goalWorking towards the "valid code works" goalT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)NLL-completeWorking towards the "valid code works" goalWorking towards the "valid code works" goalT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The following snippet, extracted from the crate shred v0.7.0, fails to compile with NLL, but only when compiled with
--crate-type lib:yields
I'm not entirely sure what is going on here, but it seems very fishy, particularly since it is specific to
--crate-type lib.