chore: replace blanket #![allow(dead_code)] with #![warn(dead_code)] (#742) (#3974)

This commit is contained in:
Zhengchao An
2026-06-28 07:50:51 +08:00
committed by GitHub
parent 27468ebfa9
commit 113058af54
47 changed files with 47 additions and 47 deletions
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![allow(dead_code)]
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
use crate::{MetricDescriptor, MetricName, new_counter_md, new_gauge_md, subsystems};
use std::sync::LazyLock;