Skip to content

Commit d2623cf

Browse files
authored
Merge pull request #17814 from hvitved/rust/fix-bad-join
Rust: Fix bad join
2 parents ce53964 + 7e82595 commit d2623cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/ql/lib/codeql/rust/elements/internal/MatchExprImpl.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module Impl {
3131
/**
3232
* Gets the `index`th arm of this match expression.
3333
*/
34+
pragma[nomagic]
3435
MatchArm getArm(int index) { result = this.getMatchArmList().getArm(index) }
3536

3637
/**
@@ -41,6 +42,7 @@ module Impl {
4142
/**
4243
* Gets the number of arms of this match expression.
4344
*/
45+
pragma[nomagic]
4446
int getNumberOfArms() { result = this.getMatchArmList().getNumberOfArms() }
4547

4648
/**

0 commit comments

Comments
 (0)