-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Regression: "temporary value does not live long enough" in a static item in Servo #54846
Copy link
Copy link
Open
Labels
A-borrow-checkerArea: The borrow checkerArea: The borrow checkerA-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-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.
Metadata
Metadata
Assignees
Labels
A-borrow-checkerArea: The borrow checkerArea: The borrow checkerA-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-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.
Reduced test case:
rustc 1.31.0-nightly (5597ee8 2018-10-03): OK
rustc 1.31.0-nightly (8c4ad4e 2018-10-04):
Commit range: 5597ee8...8c4ad4e. #53851 seems relevant. @oli-obk, should we use
#[rustc_promotable]in unstable code, despite therustc_prefix in its name?