revert: restore #![allow(dead_code)] - CI clippy -D warnings conflict (#3979)

revert: restore #![allow(dead_code)] - clippy -D warnings treats warn as error

The #742 PR changed #![allow(dead_code)] to #![warn(dead_code)], but
CI runs clippy with -D warnings which turns warnings into errors.
This caused CI failures across multiple PRs.

Reverting to #![allow(dead_code)] until the dead code is actually
cleaned up. The 189 warnings in ecstore should be fixed incrementally
by deleting dead code and adding item-level allows, not by changing
the crate-level policy.
This commit is contained in:
Zhengchao An
2026-06-28 08:32:34 +08:00
committed by GitHub
parent 1e303e5be0
commit e1272f2aba
47 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#![warn(dead_code)] // Gradually clean up; see https://github.com/rustfs/backlog/issues/742
#![allow(dead_code)]
use base64_simd::STANDARD;
use std::error::Error;