Skip to content
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

Rust: add some toString implementations #18035

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Rust: accept test changes

a82d267
Select commit
Loading
Failed to load commit list.
Open

Rust: add some toString implementations #18035

Rust: accept test changes
a82d267
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Nov 21, 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

  • 6 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 19 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.ConstBlockPat
.
Redundant import, the module is already imported inside
codeql.rust.elements.ForExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Function
.
Redundant import, the module is already imported inside
codeql.rust.elements.IfExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.LetElse
.
Redundant import, the module is already imported inside codeql.rust.elements.LoopExpr.
Redundant import, the module is already imported inside codeql.rust.elements.WhileExpr.

Check warning on line 37 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.AsmExpr
.
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.BlockExpr
.
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.CallExprBase
.
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.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.LoopExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroStmts
.
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.RecordExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.RecordExprField
.
Redundant import, the module is already imported inside
codeql.rust.elements.RecordExprFieldList
.
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

Check warning on line 66 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.LabelableExpr
.

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

Check warning on line 78 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.ForExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.LoopExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.WhileExpr
.

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