Skip to content

Fix unfulfilled lint expectation in crates/comenqd/tests/util.rs #91

Description

@coderabbitai

Description

CI compilation is failing due to an unfulfilled lint expectation in the test utilities file.

Error Details

error: this lint expectation is unfulfilled
Error:   --> crates/comenqd/tests/util.rs:16:14
   |
16 |     #[expect(dead_code, reason = "Constructed in integration tests but unused here")]
   |              ^^^^^^^^^
   |
   = note: Constructed in integration tests but unused here
   = note: `-D unfulfilled-lint-expectations` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(unfulfilled_lint_expectations)]`

Impact

This error is preventing:

  • Successful compilation of the test suite
  • CI pipeline completion
  • PR merge capability

Suggested Solutions

The compiler suggests three possible fixes:

  1. Remove the #[expect(dead_code)] attribute if the code is now being used
  2. Replace with #[allow(dead_code)] if the code should remain potentially unused
  3. Add #[allow(unfulfilled_lint_expectations)] to override the strict warning

Location

  • File: crates/comenqd/tests/util.rs
  • Line: 16

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions