-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Wrong lifetime error on nightly 1.67.0-nightly (ff8c8dfbe 2022-11-22) #104815
Copy link
Copy link
Closed
rust-skia/rust-skia
#740Labels
C-bugCategory: This is a bug.Category: This is a bug.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.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.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.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Some
rstestusers report an error on nightly-2022-11-22 (see la10736/rstest#169 ).I narrowed down the regression to the following code:
Code
I tried this code:
I expected to see this happen: It should compile
Instead, this happened: not compile
Version it worked on
It most recently worked on: 1.65.0 stable, 1.66.0-beta.2 (0040709 2022-11-20), nightly-2022-11-21
Version with regression
rustc --version --verbose:Backtrace
Backtrace