Skip to content

clippy: make the workspace pass --all-targets -D warnings #94

Description

@rsthornton

CLAUDE.md lists cargo clippy --all-targets -- -D warnings as a quality gate, but two crates carry pre-existing warnings that surface only under --all-targets (so per-crate cargo check stayed green and earlier gate runs missed them). Consolidating here so the gate has one home rather than a scatter of per-crate issues.

bert-core (1):

  • items_after_test_module at lib.rs:1844impl Display for InteractionUsability sits after #[cfg(test)] mod tests. Fix: move the impl above the tests module.

bert-typedb (7, surfaced during the typedb-driver 3.11.5 migration / #98):

  • escape.rs:42 and insert.rs:202,203,207,246,378,391. Pre-existing — none are on lines the migration touched. Run cargo clippy --fix -p bert-typedb to see/apply the suggestions, then review.

All pre-existing; none introduced by bert#88 (#92) or the typedb migration (#98). Goal: cargo clippy --workspace --all-targets -- -D warnings clean so the gate can actually be enforced in CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions