mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Rust: Remove predicates unused after refactor
This commit is contained in:
@@ -662,15 +662,6 @@ private module CallExprBaseMatchingInput implements MatchingInputSig {
|
||||
tAdj = t
|
||||
)
|
||||
}
|
||||
|
||||
pragma[nomagic]
|
||||
additional Type inferReceiverType(AstNode n) {
|
||||
exists(Access a, AccessPosition apos |
|
||||
result = inferType(n) and
|
||||
n = a.getNodeAt(apos) and
|
||||
apos.isSelf()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private module CallExprBaseMatching = Matching<CallExprBaseMatchingInput>;
|
||||
@@ -813,15 +804,6 @@ private module FieldExprMatchingInput implements MatchingInputSig {
|
||||
tAdj = t
|
||||
)
|
||||
}
|
||||
|
||||
pragma[nomagic]
|
||||
additional Type inferReceiverType(AstNode n) {
|
||||
exists(Access a, AccessPosition apos |
|
||||
result = inferType(n) and
|
||||
n = a.getNodeAt(apos) and
|
||||
apos.isSelf()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private module FieldExprMatching = Matching<FieldExprMatchingInput>;
|
||||
|
||||
Reference in New Issue
Block a user