Skip to content

Rust: fix downgrade script - add missing block_expr_try_block_modifiers

f66f82c
Select commit
Loading
Failed to load commit list.
Draft

Rust: Upgrade to rust-analyzer 0.328 #21714

Rust: fix downgrade script - add missing block_expr_try_block_modifiers
f66f82c
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Apr 16, 2026 in 11s

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

  • 38 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 31 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.Addressable
.
Redundant import, the module is already imported inside
codeql.rust.elements.ArgList
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmDirSpec
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmOperand
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmOperandExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmOption
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmPiece
.
Redundant import, the module is already imported inside
codeql.rust.elements.AsmRegSpec
.
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.Comment
.
Redundant import, the module is already imported inside
codeql.rust.elements.Expr
.
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.ForBinder
.
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.MacroCall
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroItems
.
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.ParamBase
.
Redundant import, the module is already imported inside
codeql.rust.elements.ParamList
.
Redundant import, the module is already imported inside
codeql.rust.elements.ParenthesizedArgList
.
Redundant import, the module is already imported inside
codeql.rust.elements.Pat
.
Redundant import, the module is already imported inside
codeql.rust.elements.Path
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathAstNode
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathSegment
.
Redundant import, the module is already imported inside
codeql.rust.elements.Rename
.
Redundant import, the module is already imported inside
codeql.rust.elements.RetTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ReturnTypeSyntax
.
Redundant import, the module is already imported inside
codeql.rust.elements.SourceFile
.
Redundant import, the module is already imported

Check warning on line 46 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.CfgAtom
.
Redundant import, the module is already imported inside
codeql.rust.elements.CfgAttrMeta
.
Redundant import, the module is already imported inside
codeql.rust.elements.CfgComposite
.
Redundant import, the module is already imported inside
codeql.rust.elements.CfgMeta
.

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

Check warning on line 72 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.FormatArgsArg
.

Check warning on line 107 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.Attr
.

Check warning on line 124 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.AsmSym
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroCall
.
Redundant import, the module is already imported inside
codeql.rust.elements.Meta
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathAstNode
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.UseTree
.
Redundant import, the module is already imported inside
codeql.rust.elements.Visibility
.

Check warning on line 168 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.MacroCall
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroDef
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroRules
.
Redundant import, the module is already imported inside
codeql.rust.elements.TokenTreeMeta
.

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

Check warning on line 176 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.ArrayTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.AssocTypeArg
.
Redundant import, the module is already imported inside
codeql.rust.elements.CastExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Const
.
Redundant import, the module is already imported inside
codeql.rust.elements.ConstParam
.
Redundant import, the module is already imported inside
codeql.rust.elements.DynTraitTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.FnPtrTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ForTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Impl
.
Redundant import, the module is already imported inside
codeql.rust.elements.ImplTraitTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.InferTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.LetStmt
.
Redundant import, the module is already imported inside
codeql.rust.elements.MacroTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.NeverTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.OffsetOfExpr
.
Redundant import, the module is already imported inside
codeql.rust.elements.ParamBase
.
Redundant import, the module is already imported inside
codeql.rust.elements.ParenTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathSegment
.
Redundant import, the module is already imported inside
codeql.rust.elements.PathTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.PtrTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.RefTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.RetTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.SliceTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.Static
.
Redundant import, the module is already imported inside
codeql.rust.elements.StructField
.
Redundant import, the module is already imported inside
codeql.rust.elements.TupleField
.
Redundant import, the module is already imported inside
codeql.rust.elements.TupleTypeRepr
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeAlias
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeArg
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeBound
.
Redundant import, the module is already imported inside
codeql.rust.elements.TypeParam
.
Redundant import, the module is already imported inside
codeql.rust.elements.WherePred
.

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

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

Check warning on line 49 in rust/ql/lib/codeql/rust/elements/internal/FormatTemplateVariableAccessConstructor.qll

See this annotation in the file changed.

Code scanning / CodeQL

Omittable 'exists' variable Warning

This exists variable can be omitted by using a don't-care expression
in this argument
.

Check warning on line 9 in rust/ql/lib/codeql/rust/elements/internal/generated/BlockExpr.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning generated

Redundant import, the module is already imported inside
codeql.rust.elements.StmtList
.

Check warning on line 8 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.Format
.

Check warning on line 9 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.Format
.

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

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 2299 in rust/ql/lib/codeql/rust/internal/PathResolution.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 2301 in rust/ql/lib/codeql/rust/internal/PathResolution.qll

See this annotation in the file changed.

Code scanning / CodeQL

Omittable 'exists' variable Warning

This exists variable can be omitted by using a don't-care expression
in this argument
.

Check warning on line 2301 in rust/ql/lib/codeql/rust/internal/PathResolution.qll

See this annotation in the file changed.

Code scanning / CodeQL

Omittable 'exists' variable Warning

This exists variable can be omitted by using a don't-care expression
in this argument
.

Check warning on line 2301 in rust/ql/lib/codeql/rust/internal/PathResolution.qll

See this annotation in the file changed.

Code scanning / CodeQL

Omittable 'exists' variable Warning

This exists variable can be omitted by using a don't-care expression
in this argument
.

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