Skip to content

Rust: add back `getAttr` to `ArrayExpr`

277c9f4
Select commit
Loading
Failed to load commit list.
Merged

Rust: distinguish [a, b] from [a; b] #18190

Rust: add back `getAttr` to `ArrayExpr`
277c9f4
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Dec 3, 2024 in 5s

4 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 4 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

Actions workflow (cpp-swift-analysis.yml)

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

New alerts in code changed by this pull request

  • 3 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 9 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.ArrayListExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ArrayRepeatExpr
.

Check warning on line 38 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.ArgList
.
Redundant import, the module is already imported inside
codeql.rust.elements.ArrayExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ArrayRepeatExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmConst
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmOperandExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.AwaitExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.BecomeExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.BinaryExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.BreakExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.CallExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Callable
.
Redundant import, the module is already imported inside
codeql.rust.elements.CastExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ClosureExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Const
.
Redundant import, the module is already imported inside
codeql.rust.elements.ConstArg
.
Redundant import, the module is already imported inside
codeql.rust.elements.ContinueExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ExprStmt
.
Redundant import, the module is already imported inside
codeql.rust.elements.FieldExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ForExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.FormatArgsArg
.
Redundant import, the module is already imported inside
codeql.rust.elements.FormatArgsExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.IfExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.IndexExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.LabelableExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.LetExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.LetStmt
.
Redundant import, the module is already imported inside
codeql.rust.elements.LiteralExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroBlockExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.MatchArm
.
Redundant import, the module is already imported inside
codeql.rust.elements.MatchExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.MatchGuard
.
Redundant import, the module is already imported inside
codeql.rust.elements.Meta
.
Redundant import, the module is already imported inside
codeql.rust.elements.MethodCallExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.OffsetOfExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ParenExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathExprBase
.
Redundant import, the module is already imported inside
codeql.rust.elements.PrefixExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.RangeExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.RefExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ReturnExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Static
.
Redundant import, the module is already impor

Check warning on line 8 in rust/ql/lib/codeql/rust/elements/ArrayRepeatExpr.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.ArrayExpr
.