Skip to content

Rust: update rust-analyzer to 0.0.347 - #22346

Open
redsun82 wants to merge 33 commits into
mainfrom
redsun82-rust-analyzer-update
Open

Rust: update rust-analyzer to 0.0.347#22346
redsun82 wants to merge 33 commits into
mainfrom
redsun82-rust-analyzer-update

Merge remote-tracking branch 'origin/main' into redsun82-rust-analyze…

61ff9d0
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Aug 19, 2026 in 4s

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
  • 4 notes

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 notice on line 124 in rust/extractor/src/config.rs

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable Note

Variable 'None' is not used.

Check notice on line 124 in rust/extractor/src/config.rs

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable Note

Variable 'None' is not used.

Check notice on line 125 in rust/extractor/src/config.rs

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable Note

Variable 'None' is not used.

Check notice on line 126 in rust/extractor/src/config.rs

See this annotation in the file changed.

Code scanning / CodeQL

Unused variable Note

Variable 'None' is not used.

Check warning on line 7 in rust/ql/test/extractor-tests/generated/VisibilityInner/VisibilityInner.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.

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 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 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 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 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/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/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/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 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 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/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 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 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 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/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/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/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/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 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
.