Skip to content

non-exhaustive patterns/ does not compile  #6

@MariaGolubev

Description

@MariaGolubev

Сompile time error :

➜  new-rtsp-service git:(main) ✗ cargo run
   Compiling tracing-gstreamer v0.3.0
   Compiling gstreamer-rtsp-server v0.18.0
error[E0004]: non-exhaustive patterns: `(&Kind(0_u8), _)` and `(&Kind(3_u8..=u8::MAX), _)` not covered
   --> /home/***/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-gstreamer-0.3.0/src/callsite.rs:152:38
    |
152 |             .then_with(move || match (&self.kind, &other.kind) {
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ patterns `(&Kind(0_u8), _)` and `(&Kind(3_u8..=u8::MAX), _)` not covered
    |
    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
    = note: the matched value is of type `(&Kind, &Kind)`

Cargo.toml:

[dependencies]
tracing = "0.1"
tracing-subscriber = "0.3"
tracing-gstreamer = "0.3"
log-panics = "2"


gstreamer-rtsp-server = "0.18"

url = "2"

tokio = {version = "1", features = ["rt-multi-thread", "macros", "sync"]}

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