Closed
Description
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
Labels
No labels