Skip to content

Rust: upgrade to rust-analyzer 0.0.300 #20055

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Conversation

redsun82
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Jul 15, 2025
@@ -4,6 +4,20 @@

query predicate instances(AsmExpr x) { toBeTested(x) and not x.isUnknown() }

query predicate getExtendedCanonicalPath(AsmExpr x, string getExtendedCanonicalPath) {

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.
toBeTested(x) and not x.isUnknown() and getExtendedCanonicalPath = x.getExtendedCanonicalPath()
}

query predicate getCrateOrigin(AsmExpr x, string getCrateOrigin) {

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.
toBeTested(x) and not x.isUnknown() and getCrateOrigin = x.getCrateOrigin()
}

query predicate getAttributeMacroExpansion(AsmExpr x, MacroItems getAttributeMacroExpansion) {

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.
@redsun82 redsun82 added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Aug 5, 2025
@redsun82 redsun82 changed the title Rust: upgrade to rust 1.88 and rust-analyzer 0.0.294 Rust: upgrade to rust-analyzer 0.0.294 Aug 12, 2025
@github-actions github-actions bot added the Ruby label Aug 12, 2025
@redsun82 redsun82 changed the title Rust: upgrade to rust-analyzer 0.0.294 Rust: upgrade to rust-analyzer 0.0.300 Aug 12, 2025
import codeql.rust.elements.FieldExpr
import codeql.rust.elements.FieldList
import codeql.rust.elements.FnPtrTypeRepr
import codeql.rust.elements.ForBinder

Check warning

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.rust.elements.ClosureExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ForTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeBound
.
Redundant import, the module is already imported inside
codeql.rust.elements.WherePred
.
@@ -4,6 +4,20 @@

query predicate instances(AsmExpr x) { toBeTested(x) and not x.isUnknown() }

query predicate getExtendedCanonicalPath(AsmExpr x, string getExtendedCanonicalPath) {

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.
toBeTested(x) and not x.isUnknown() and getExtendedCanonicalPath = x.getExtendedCanonicalPath()
}

query predicate getCrateOrigin(AsmExpr x, string getCrateOrigin) {

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.
toBeTested(x) and not x.isUnknown() and getCrateOrigin = x.getCrateOrigin()
}

query predicate getAttributeMacroExpansion(AsmExpr x, MacroItems getAttributeMacroExpansion) {

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
depends on internal PR This PR should only be merged in sync with an internal Semmle PR Ruby Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant