Skip to content

CI fails with latest rustup updates. #9724

@mustafasrepo

Description

@mustafasrepo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions