File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
rust/ql/lib/codeql/rust/elements/internal Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -448,8 +448,7 @@ module Impl {
448
448
private import codeql.rust.elements.internal.generated.Synth
449
449
450
450
/** A variable access. */
451
- abstract class VariableAccess extends PathExprBaseImpl:: PathExprBase instanceof VariableAccessCand
452
- {
451
+ class VariableAccess extends PathExprBaseImpl:: PathExprBase instanceof VariableAccessCand {
453
452
private string name ;
454
453
private Variable v ;
455
454
@@ -462,8 +461,6 @@ module Impl {
462
461
predicate isCapture ( ) { this .getEnclosingCallable ( ) != v .getPat ( ) .getEnclosingCallable ( ) }
463
462
464
463
override string toString ( ) { result = name }
465
-
466
- override string getAPrimaryQlClass ( ) { result = "VariableAccess" }
467
464
}
468
465
469
466
/** Holds if `e` occurs in the LHS of an assignment or compound assignment. */
You can’t perform that action at this time.
0 commit comments