Skip to content

Rust: fix `Const` test

6a0140d
Select commit
Loading
Failed to load commit list.
Merged

Codegen: use one generated test file per directory #19874

Rust: fix `Const` test
6a0140d
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Jun 25, 2025 in 13s

6 configurations not found

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

Actions workflow (rust-analysis.yml)

  • ❓  .github/workflows/rust-analysis.yml:analyze/language:rust

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

  • 580 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 7 in rust/ql/test/extractor-tests/generated/Abi/Abi.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/ArgList/ArgList.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/ArrayListExpr/ArrayListExpr.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/ArrayListExpr/ArrayListExpr.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 17 in rust/ql/test/extractor-tests/generated/ArrayRepeatExpr/ArrayRepeatExpr.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 21 in rust/ql/test/extractor-tests/generated/ArrayRepeatExpr/ArrayRepeatExpr.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/ArrayTypeRepr/ArrayTypeRepr.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/ArrayTypeRepr/ArrayTypeRepr.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 12 in rust/ql/test/extractor-tests/generated/AsmConst/AsmConst.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/AsmExpr/AsmExpr.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/AsmExpr/AsmExpr.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 15 in rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.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/AsmLabel/AsmLabel.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/AsmOperandExpr/AsmOperandExpr.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/AsmOperandExpr/AsmOperandExpr.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/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/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/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/AsmRegOperand/AsmRegOperand.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/AsmRegOperand/AsmRegOperand.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 15 in rust/ql/test/extractor-tests/generated/AsmRegOperand/AsmRegOperand.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/AsmRegSpec/AsmRegSpec.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/AsmSym/AsmSym.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/AssocTypeArg/AssocTypeArg.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/AssocTypeArg/AssocTypeArg.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.