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

CI fails with latest rustup updates. #9724

Closed
mustafasrepo opened this issue Mar 21, 2024 · 0 comments · Fixed by #9725
Closed

CI fails with latest rustup updates. #9724

mustafasrepo opened this issue Mar 21, 2024 · 0 comments · Fixed by #9725
Labels
bug Something isn't working

Comments

@mustafasrepo
Copy link
Contributor

Describe the bug

bash dev/rust_lint.sh gives following linter error.

error: field `0` is never read
   --> datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs:413:26
    |
413 |     SimplifyRuntimeError(DataFusionError, Expr),
    |     -------------------- ^^^^^^^^^^^^^^^
    |     |
    |     field in this variant
    |
    = note: `-D dead-code` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(dead_code)]`
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
413 |     SimplifyRuntimeError((), Expr),

which causes CI to fail.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

@mustafasrepo mustafasrepo added the bug Something isn't working label Mar 21, 2024
@mustafasrepo mustafasrepo changed the title CI fails with latest updates. CI fails with latest rustup updates. Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant