Skip to content

warning: variant UTF8 is never constructed #13530

@zhuliquan

Description

@zhuliquan

Describe the bug

When I run cargo clippy on my Windows machine, I get the following warning:

warning: variant `UTF8` is never constructed
  --> datafusion\core\tests\parquet\mod.rs:89:5
   |
71 | enum Scenario {
   |      -------- variant in this enum
...
89 |     UTF8,
   |     ^^^^
   |
   = note: `Scenario` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default

I get the same warning when triggering the CI task cargo test (win64) as well.

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