Skip to content

Rust: Update rust-analyzer to 0.0.347 and pin toolchain - #22493

Draft
paldepind wants to merge 60 commits into
mainfrom
rust/force-stable-toolchain
Draft

Rust: Update rust-analyzer to 0.0.347 and pin toolchain#22493
paldepind wants to merge 60 commits into
mainfrom
rust/force-stable-toolchain

Rust: Update expected files

04d40b2
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Sep 4, 2026 in 10s

5 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 5 configurations present on refs/heads/main were not found:

Actions workflow (csv-coverage-metrics.yml)

  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-csharp
  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-java

Actions workflow (codeql-analysis.yml)

  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:actions
  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:csharp

Actions workflow (cpp-swift-analysis.yml)

  • ❓  .github/workflows/cpp-swift-analysis.yml:CodeQL-Build

New alerts in code changed by this pull request

  • 26 warnings

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 72 in rust/ql/lib/codeql/rust/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 84 in rust/ql/lib/codeql/rust/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 120 in rust/ql/lib/codeql/rust/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 142 in rust/ql/lib/codeql/rust/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 203 in rust/ql/lib/codeql/rust/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.rust.elements.Const
.
Redundant import, the module is already imported inside
codeql.rust.elements.ExternCrate
.
Redundant import, the module is already imported inside
codeql.rust.elements.Function
.
Redundant import, the module is already imported inside
codeql.rust.elements.Impl
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroDef
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroRules
.
Redundant import, the module is already imported inside
codeql.rust.elements.Module
.
Redundant import, the module is already imported inside
codeql.rust.elements.Static
.
Redundant import, the module is already imported inside
codeql.rust.elements.StructField
.
Redundant import, the module is already imported inside
codeql.rust.elements.Trait
.
Redundant import, the module is already imported inside
codeql.rust.elements.TupleField
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeAlias
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeItem
.
Redundant import, the module is already imported inside
codeql.rust.elements.Use
.
Redundant import, the module is already imported inside
codeql.rust.elements.Variant
.

Check warning on line 204 in rust/ql/lib/codeql/rust/elements.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.rust.elements.ImplRestriction
.
Redundant import, the module is already imported inside
codeql.rust.elements.MutRestriction
.
Redundant import, the module is already imported inside
codeql.rust.elements.Visibility
.

Check warning on line 7 in rust/ql/lib/codeql/rust/elements/FormatArgsArg.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 7 in rust/ql/lib/codeql/rust/elements/ImplRestriction.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 7 in rust/ql/lib/codeql/rust/elements/MutRestriction.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 7 in rust/ql/lib/codeql/rust/elements/TupleField.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.rust.elements.Attr
.
Redundant import, the module is already imported inside
codeql.rust.elements.MutRestriction
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Visibility
.

Check warning on line 7 in rust/ql/lib/codeql/rust/elements/Visibility.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 7 in rust/ql/lib/codeql/rust/elements/VisibilityInner.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 10 in rust/ql/lib/codeql/rust/internal/Definitions.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 11 in rust/ql/lib/codeql/rust/internal/Definitions.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

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

Check warning on line 7 in rust/ql/test/extractor-tests/generated/AsmClobberAbi/AsmClobberAbi.ql

See this annotation in the file changed.

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.

Check warning on line 11 in rust/ql/test/extractor-tests/generated/AsmOperandNamed/AsmOperandNamed.ql

See this annotation in the file changed.

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.

Check warning on line 11 in rust/ql/test/extractor-tests/generated/AsmOptionsList/AsmOptionsList.ql

See this annotation in the file changed.

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.

Check warning on line 7 in rust/ql/test/extractor-tests/generated/DerefPat/DerefPat.ql

See this annotation in the file changed.

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.

Check warning on line 11 in rust/ql/test/extractor-tests/generated/FormatArgsExpr/FormatArgsArg.ql

See this annotation in the file changed.

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.

Check warning on line 7 in rust/ql/test/extractor-tests/generated/PatternTypeRepr/PatternTypeRepr.ql

See this annotation in the file changed.

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.

Check warning on line 11 in rust/ql/test/extractor-tests/generated/PatternTypeRepr/PatternTypeRepr.ql

See this annotation in the file changed.

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.

Check warning on line 20 in rust/ql/test/extractor-tests/generated/StructField/StructField.ql

See this annotation in the file changed.

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.

Check warning on line 34 in rust/ql/test/extractor-tests/generated/Trait/Trait.ql

See this annotation in the file changed.

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.

Check warning on line 11 in rust/ql/test/extractor-tests/generated/TupleField/TupleField.ql

See this annotation in the file changed.

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.

Check warning on line 7 in rust/ql/test/extractor-tests/generated/Visibility/Visibility.ql

See this annotation in the file changed.

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.