Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d659d40 + 209cfb7 commit 3fed7f5Copy full SHA for 3fed7f5
2 files changed
rust/ql/lib/codeql/rust/elements/internal/GenericArgListImpl.qll
@@ -26,6 +26,7 @@ module Impl {
26
override string toAbbreviatedString() { result = "<...>" }
27
28
/** Gets the `i`th type argument of this list. */
29
+ pragma[nomagic]
30
TypeRepr getTypeArg(int i) {
31
result =
32
rank[i + 1](TypeRepr res, int j |
rust/ql/lib/codeql/rust/internal/TypeMention.qll
@@ -130,6 +130,7 @@ class PathTypeReprMention extends TypeMention instanceof PathTypeRepr {
130
* Holds if this path resolved to a type alias with a rhs. that has the
131
* resulting type at `typePath`.
132
*/
133
134
Type aliasResolveTypeAt(TypePath typePath) {
135
exists(TypeAlias alias, TypeMention rhs | alias = resolved and rhs = alias.getTypeRepr() |
136
result = rhs.resolveTypeAt(typePath) and
0 commit comments