Skip to content

Commit f9b3b2b

Browse files
committed
Rust: Fix canonical path for Deref trait
1 parent 5550495 commit f9b3b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private predicate isOverloaded(string op, int arity, string path, string method)
2121
op = "!" and path = "core::ops::bit::Not" and method = "not"
2222
or
2323
// Dereference
24-
op = "*" and path = "core::ops::Deref" and method = "deref"
24+
op = "*" and path = "core::ops::deref::Deref" and method = "deref"
2525
)
2626
or
2727
arity = 2 and

0 commit comments

Comments
 (0)