Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f16238a

Browse files
committedJun 6, 2025
Rust: Fix canonical path for Deref trait
1 parent 6dd8f19 commit f16238a

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)
Please sign in to comment.