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 extended canonical paths on enum variants #18083

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

Merge branch 'main' into redsun82/rust-canonical-enum

c3b4447
Select commit
Loading
Failed to load commit list.
Open

Rust: add extended canonical paths on enum variants #18083

Merge branch 'main' into redsun82/rust-canonical-enum
c3b4447
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Nov 25, 2024 in 2s

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

  • 4 warnings

See annotations below for details.

View all branch alerts.

Annotations

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

Check warning on line 14 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.Abi
.
Redundant import, the module is already imported inside
codeql.rust.elements.ArgList
.
Redundant import, the module is already imported inside
codeql.rust.elements.AssocItem
.
Redundant import, the module is already imported inside
codeql.rust.elements.AssocItemList
.
Redundant import, the module is already imported inside
codeql.rust.elements.Attr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Callable
.
Redundant import, the module is already imported inside
codeql.rust.elements.ClosureBinder
.
Redundant import, the module is already imported inside
codeql.rust.elements.Comment
.
Redundant import, the module is already imported inside
codeql.rust.elements.Expr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ExternItem
.
Redundant import, the module is already imported inside
codeql.rust.elements.ExternItemList
.
Redundant import, the module is already imported inside
codeql.rust.elements.FieldList
.
Redundant import, the module is already imported inside
codeql.rust.elements.FormatArgsArg
.
Redundant import, the module is already imported inside
codeql.rust.elements.GenericArg
.
Redundant import, the module is already imported inside
codeql.rust.elements.GenericArgList
.
Redundant import, the module is already imported inside
codeql.rust.elements.GenericParam
.
Redundant import, the module is already imported inside
codeql.rust.elements.GenericParamList
.
Redundant import, the module is already imported inside
codeql.rust.elements.ItemList
.
Redundant import, the module is already imported inside
codeql.rust.elements.Label
.
Redundant import, the module is already imported inside
codeql.rust.elements.LetElse
.
Redundant import, the module is already imported inside
codeql.rust.elements.Lifetime
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroCall
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroItems
.
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.MatchArmList
.
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.Name
.
Redundant import, the module is already imported inside
codeql.rust.elements.NameRef
.
Redundant import, the module is already imported inside
codeql.rust.elements.ParamBase
.
Redundant import, the module is already imported inside
codeql.rust.elements.ParamList
.
Redundant import, the module is already imported inside
codeql.rust.elements.Pat
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathSegment
.
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.RecordField
.
Redundant import, the module is already imported inside
codeql.rust.elements.RecordPatField
.
Redundant import, the module is already imported inside
codeql.rust.elements.RecordPatFieldList
.
Redundant import, the module is already imported inside
codeql.rust.elements.Rename
.
Redundant import, the module is already imported inside
codeql.rust.elements.Resolvable
.
Redundant import, the module is already imported inside
codeql.rust.elements.RetType
.
Redundant import, the module is already imported inside
codeql.rust.elements.ReturnTypeSyntax
.
Redundant import, the module is al

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

See this annotation in the file changed.

Code scanning / CodeQL

Class QLDoc style. Warning

The QLDoc for a class should start with 'A', 'An', or 'The'.

Check warning on line 19 in rust/ql/lib/codeql/rust/elements/internal/AddressableImpl.qll

See this annotation in the file changed.

Code scanning / CodeQL

Class QLDoc style. Warning

The QLDoc for a class should start with 'A', 'An', or 'The'.