Skip to content

Push on main

Push on main #40

Triggered via dynamic May 27, 2025 12:55
Status Success
Total duration 55s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

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; | ^^----------------^^^^^^ | | | this raw pointer has type `*mut std::vec::Vec<usize>` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&mut std::vec::Vec<usize>` --> benchmark/src/runner/counter.rs:32:13 | 32 | (*self.costs.get())[idx] = cost; | ^^^^^^^^^^^^^^^^^^^ = 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; | +++++ +