tracking issue for infer_static_outlives_requirements
(RFC 2093 spinoff) #54185
Closed
Description
As part of the work on RFC 2093 (#44493), we encountered a specific sub-question that we decided to spin out into its own feature gate called infer_static_outlives_requirements
(#52761). The question is whether to infer T: 'static
requirements from structs.
For example, does this struct require T: 'static
?
struct Foo<T> {
x: &'static T
}
There is no real implementation work to be done here, this is simply a policy question.
Metadata
Assignees
Labels
Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCCall for participation: Help is requested to fix this issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Status: There are blocking design concerns.Relevant to the language team, which will review and decide on the PR/issue.This PR / issue is in PFCP or FCP with a disposition to close it.The final comment period is finished for this PR / Issue.