Skip to content

liquidfun beta regression #44447

Closed
Closed
@est31

Description

@est31

The liquidfun crate version 0.8.0 fails to build on latest beta 1.21, while the build works on stable. The error output (full log):

error[E0106]: missing lifetime specifier
   --> src/box2d/dynamics/body.rs:110:49
    |
110 |     fn b2Body_GetPosition(this: *mut B2Body) -> &Vec2;
    |                                                 ^ expected lifetime parameter
    |
    = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments
    = help: consider giving it an explicit bounded or 'static lifetime

cc @rjanicek

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.relnotesMarks issues that should be documented in the release notes of the next release.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions