Skip to content

Commit

Permalink
#![cfg_attr(not(test), allow(unused))]
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 26, 2025
1 parent 03629cc commit 648567d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/swc_common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
//! Use `ahash` instead of `rustc_hash` for `AHashMap` and `AHashSet`.
#![deny(clippy::all)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(not(test), allow(unused))]

use std::fmt::Debug;

Expand Down
1 change: 1 addition & 0 deletions crates/swc_ecma_transforms_base/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// #![cfg_attr(test, deny(warnings))]
#![allow(clippy::mutable_key_type)]
#![cfg_attr(not(test), allow(unused))]

pub use self::resolver::resolver;

Expand Down

0 comments on commit 648567d

Please sign in to comment.