Skip to content

error[E0658]: match is not allowed in a const fn #220

Closed
@byteschain

Description

@byteschain

error[E0658]: match is not allowed in a const fn
-->/socket2-0.4.0/src/lib.rs:156:9
|
156 | / match address {
157 | | SocketAddr::V4() => Domain::IPV4,
158 | | SocketAddr::V6(
) => Domain::IPV6,
159 | | }
| |_________^
|
= note: see issue #49146 rust-lang/rust#49146 for more information

Compiling time v0.1.43
error: aborting due to previous error

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