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

fix clippy #35

Merged
merged 1 commit into from
Feb 14, 2023
Merged

fix clippy #35

merged 1 commit into from
Feb 14, 2023

Conversation

jiacai2050
Copy link
Contributor

Meet this error when doing apache/horaedb#641

error[E0658]: `let` expressions in this position are unstable
   --> /Users/jiacai/.cargo/git/checkouts/ceresdb-client-rs-4f2f7fd68ddd1ea7/5fbd1a1/src/db_client/route_based.rs:162:20
    |
162 |                 if let Err(Error::Server(server_error)) = &result &&
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
    = help: add `#![feature(let_chains)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0658`.
error: could not compile `ceresdb-client-rs` due to previous error
warning: build failed, waiting for other jobs to finish...

Copy link
Contributor

@Rachelint Rachelint left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Rachelint Rachelint merged commit 69948b9 into apache:main Feb 14, 2023
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.

2 participants