Skip to content

Mismatched record type message is backwards #2094

@jdm

Description

@jdm

error: mismatched types: expected socket::sockaddr_basicbut found{family: int} (expected a record with field 'family' but found one with field 'sin_family')

The "expected a record with" looks like it should be the other way around, since the actual code I wrote was {family:0}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions