Skip to content

update dependency #356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

update dependency #356

wants to merge 1 commit into from

Conversation

getong
Copy link

@getong getong commented Apr 1, 2025

error[E0004]: non-exhaustive patterns: `deno_media_type::MediaType::Html` and `deno_media_type::MediaType::Sql` not covered
   --> /Users/gerald/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/deno_ast-0.43.3/src/parsing.rs:304:9
    |
304 |   match media_type {
    |         ^^^^^^^^^^ patterns `deno_media_type::MediaType::Html` and `deno_media_type::MediaType::Sql` not covered
    |
note: `deno_media_type::MediaType` defined here
   --> /Users/gerald/.cargo/registry/src/rsproxy.cn-e3de039b2554c837/deno_media_type-0.2.8/src/lib.rs:16:1
    |
16  | pub enum MediaType {
    | ^^^^^^^^^^^^^^^^^^
...
30  |   Html,
    |   ---- not covered
31  |   Sql,
    |   --- not covered
    = note: the matched value is of type `deno_media_type::MediaType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
    |
347 ~     }),
348 ~     deno_media_type::MediaType::Html | deno_media_type::MediaType::Sql => todo!(),
    |

try to resolve this error, but need help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant