Regression: cannot return value referencing function parameter self
#65
Labels
A-pin-projection
Area: #[pin_project]
C-bug
Category: related to a bug.
regression-from-0.3-to-0.4
Regression from 0.3 to 0.4
Milestone
Caused by #47.
Such code is used a lot in futures etc., so I would like to support it...
However, I'm not sure if this can be fixed by ways other than changing
self
argument toself: Pin<&mut Self>
.Code:
Error:
playground (current)
playground (previous)
Related: rust-lang/rust#54934
The text was updated successfully, but these errors were encountered: