Skip to content
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

statements are unstable 请问需要如何破? #52

Open
nevertoday opened this issue Nov 22, 2022 · 1 comment
Open

statements are unstable 请问需要如何破? #52

nevertoday opened this issue Nov 22, 2022 · 1 comment

Comments

@nevertoday
Copy link

error[E0658]: let...else statements are unstable
--> crates/biliup/src/server/core/download_actor.rs:72:5
|
72 | let Some(extractor) = find_extractor(&url) else { return; };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #87335 rust-lang/rust#87335 for more information

warning: unused import: std::any::Any
--> crates/biliup/src/server/core/download_actor.rs:8:5
|
8 | use std::any::Any;
| ^^^^^^^^^^^^^

warning: unused import: anyhow::Context
--> crates/biliup/src/server/infrastructure/repositories/live_streamers_repository.rs:3:5
|
3 | use anyhow::Context;
| ^^^^^^^^^^^^^^^

For more information about this error, try rustc --explain E0658.
warning: biliup (lib) generated 16 warnings
error: could not compile biliup due to 3 previous errors; 16 warnings emitted
warning: build failed, waiting for other jobs to finish...

@ForgQi
Copy link
Member

ForgQi commented Nov 22, 2022

rust升级最新版

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

No branches or pull requests

2 participants