Skip to content

0.7 build error #428

@jiayihu

Description

@jiayihu

I've just updated to 0.7 but I cannot build anymore:

error[E0004]: non-exhaustive patterns: type `(&Cidr, &Cidr)` is non-empty
   --> /Users/jiayihu/.cargo/registry/src/github.com-1ecc6299db9ec823/smoltcp-0.7.0/src/wire/ip.rs:334:15
    |
334 |         match (self, subnet) {
    |               ^^^^^^^^^^^^^^
    |
    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
    = note: the matched value is of type `(&Cidr, &Cidr)`

These are the enabled features:

smoltcp = { version = "0.7.0", default-features = false, features = ["socket-udp", "socket-icmp"]}

Rust version:

rustc 1.50.0-nightly (593fe977a 2020-11-20)

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