[DO NOT SUBMIT] debug: add get_unstable_blocks #386
GitHub Actions / clippy
failed
Mar 26, 2025 in 1s
clippy
1 error
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 1 |
| Warning | 0 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check failure on line 28 in canister/src/unstable_blocks.rs
github-actions / clippy
constant `MAX_UNSTABLE_BLOCKS` is never used
error: constant `MAX_UNSTABLE_BLOCKS` is never used
--> canister/src/unstable_blocks.rs:28:7
|
28 | const MAX_UNSTABLE_BLOCKS: usize = 1_500;
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Loading