Skip to content

repeated float causes compliation error on generated code #265

Description

@wangjia184
message XXXXXXXXXXXX {
    int32 status = 1;      
    repeated string blend_shape_names = 2; 
    repeated float blend_shape_weights = 3;  // <--- 
    repeated int32 audio_samples = 4; 
    double timestamp = 5;
}

As long as the repeated float field is added, the generated code cannot be complied because the XXXXXXXXXXXX class is marked with an unnessecary lifetime annotation.

pb-rs version 0.10.0

pb-rs --dont_use_cow --single-mod contract.proto

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions