From 4e57b2c46f6f0a6c19a563e36e2bc9158bddd7b6 Mon Sep 17 00:00:00 2001 From: Jason Newcomb Date: Tue, 6 Aug 2024 10:12:49 -0400 Subject: Use `-D warnings` instead of `deny-warnings` feature. --- rustc_tools_util/Cargo.toml | 3 --- rustc_tools_util/src/lib.rs | 2 -- 2 files changed, 5 deletions(-) (limited to 'rustc_tools_util') diff --git a/rustc_tools_util/Cargo.toml b/rustc_tools_util/Cargo.toml index 877049ae7d0..37b592da132 100644 --- a/rustc_tools_util/Cargo.toml +++ b/rustc_tools_util/Cargo.toml @@ -10,6 +10,3 @@ categories = ["development-tools"] edition = "2018" [dependencies] - -[features] -deny-warnings = [] diff --git a/rustc_tools_util/src/lib.rs b/rustc_tools_util/src/lib.rs index f8b8084ca1a..f5c41914afc 100644 --- a/rustc_tools_util/src/lib.rs +++ b/rustc_tools_util/src/lib.rs @@ -1,5 +1,3 @@ -#![cfg_attr(feature = "deny-warnings", deny(warnings))] - use std::str; /// This macro creates the version string during compilation from the -- cgit 1.4.1-3-g733a5