Skip to content

Rust: Use the new 'quality' tag. #19455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Rust: Use the new 'quality' tag. #19455

wants to merge 2 commits into from

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented May 2, 2025

Use the new 'quality' tag in Rust queries.

@tamasvajk are these the sorts of queries we want this tag on? Our other Rust queries for the time being are very much security focussed.

@Copilot Copilot AI review requested due to automatic review settings May 2, 2025 16:34
@geoffw0 geoffw0 added the Rust Pull requests that update Rust code label May 2, 2025
@geoffw0 geoffw0 requested a review from a team as a code owner May 2, 2025 16:34
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates Rust QL queries to include the new quality classification tag.

  • Adds quality tag to three unused-entities and dead-code queries.
  • Ensures consistency in query metadata across Rust QL rules.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
rust/ql/src/queries/unusedentities/UnusedVariable.ql Added quality tag line
rust/ql/src/queries/unusedentities/UnusedValue.ql Added quality tag line
rust/ql/src/queries/unusedentities/UnreachableCode.ql Added quality tag line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant