scylladb / scylladb/cpp-rs-driver

Use non_exhaustive_omitted_patterns_lint lint

Open
#355 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
26
Forks
19
Avg merge
1d 21h
Merged PRs (30d)
7

Description

Using this lint would prevent us from missing any new error variants added to Rust Driver. Unfortunately, it requires nightly compiler that we don't want to use.
There is a solution that is potentially worth exploring: we may be able to put required directives behind some cfg config, and have a separate pipeline that would run this lint.
That way we can use the lint, but keep developing the library using stable compiler.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named; start by locating the Rust lint configuration and CI pipeline entry points. Determine whether cfg-gated directives and a separate nightly pipeline can run non_exhaustive_omitted_patterns_lint while stable remains the default for library development. Done means the lint runs in its dedicated pipeline without requiring nightly for normal development.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.