Push on main #36
Annotations
1 warning
|
implicit autoref creates a reference to the dereference of a raw pointer:
benchmark/src/runner/counter.rs#L32
warning: implicit autoref creates a reference to the dereference of a raw pointer
--> benchmark/src/runner/counter.rs:32:13
|
32 | (*self.costs.get())[idx] = cost;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
= note: `#[warn(dangerous_implicit_autorefs)]` on by default
help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
|
32 | (&mut (*self.costs.get()))[idx] = cost;
| +++++ +
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
sarif-artifact-actions
Expired
|
18 KB |
sha256:cdda26b229c949e568fd73b7494d5ad29fc56d74f7395e36dce368e54dd5da8f
|
|
|
sarif-artifact-python
Expired
|
40.9 KB |
sha256:a112f8ab869167ff5ef2ac42f533f5aac8bf7ade0d93f03cde1226650f20bf73
|
|