We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce53964 + 7e82595 commit d2623cfCopy full SHA for d2623cf
1 file changed
rust/ql/lib/codeql/rust/elements/internal/MatchExprImpl.qll
@@ -31,6 +31,7 @@ module Impl {
31
/**
32
* Gets the `index`th arm of this match expression.
33
*/
34
+ pragma[nomagic]
35
MatchArm getArm(int index) { result = this.getMatchArmList().getArm(index) }
36
37
@@ -41,6 +42,7 @@ module Impl {
41
42
43
* Gets the number of arms of this match expression.
44
45
46
int getNumberOfArms() { result = this.getMatchArmList().getNumberOfArms() }
47
48
0 commit comments