Skip to content

borrow of packed field is unsafe #992

@pusateri

Description

@pusateri

rust lang issue #46043 describes the problem. The error shows up on NetBSD tests for sys/socket/mod.rs:262 and sys/socket/addr.rs:500

--> src/sys/socket/addr.rs:500:9
    |
500 |         self.0.s_addr.hash(s)
    |         ^^^^^^^^^^^^^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions