Skip to content

Rust: WIP update rust_analyzer#21284

Draft
paldepind wants to merge 4 commits intogithub:mainfrom
paldepind:rust/update-rust-analyzer-050226
Draft

Rust: WIP update rust_analyzer#21284
paldepind wants to merge 4 commits intogithub:mainfrom
paldepind:rust/update-rust-analyzer-050226

Conversation

@paldepind
Copy link
Contributor

No description provided.

@github-actions github-actions bot added Ruby Rust Pull requests that update Rust code labels Feb 6, 2026
import codeql.rust.elements.Token
import codeql.rust.elements.TokenTree
import codeql.rust.elements.Trait
import codeql.rust.elements.TraitAlias

Check warning

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.rust.elements.FormatArgsArg
.

query predicate getExpr(FormatArgsArg x, Expr getExpr) {
toBeTested(x) and not x.isUnknown() and getExpr = x.getExpr()
query predicate getArgName(FormatArgsArg x, FormatArgsArgName getArgName) {

Check warning

Code scanning / CodeQL

Predicates starting with "get" or "as" should return a value Warning generated test

This predicate starts with 'get' but does not return a value.

query predicate getExpr(FormatArgsArg x, Expr getExpr) {
toBeTested(x) and not x.isUnknown() and getExpr = x.getExpr()
query predicate getArgName(FormatArgsArg x, FormatArgsArgName getArgName) {

Check warning

Code scanning / CodeQL

Predicates starting with "get" or "as" should return a value Warning generated test

This predicate starts with 'get' but does not return a value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ruby Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant