Refactorings #275
Annotations
1 error and 4 warnings
bench
Process completed with exit code 101.
|
lint:
tango-bench/src/lib.rs#L737
warning: struct `PlatformTimer` is never constructed
--> tango-bench/src/lib.rs:737:23
|
737 | pub(super) struct PlatformTimer;
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
lint:
tango-bench/src/lib.rs#L737
warning: struct `PlatformTimer` is never constructed
--> tango-bench/src/lib.rs:737:23
|
737 | pub(super) struct PlatformTimer;
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
lint:
tango-bench/src/dylib.rs#L68
warning: creating a mutable reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:68:18
|
68 | unsafe { SELF_VTABLE.take() }.map(|vt| spi_handle_for_vtable(vt, mode))
| ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
|
lint:
tango-bench/src/dylib.rs#L68
warning: creating a mutable reference to mutable static is discouraged
--> tango-bench/src/dylib.rs:68:18
|
68 | unsafe { SELF_VTABLE.take() }.map(|vt| spi_handle_for_vtable(vt, mode))
| ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
|