We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce8546 commit 6436524Copy full SHA for 6436524
crates/oxc_semantic/src/counter.rs
@@ -30,7 +30,7 @@ impl Counts {
30
counts
31
}
32
33
- #[cfg(debug_assertions)]
+ #[cfg_attr(not(debug_assertions), expect(dead_code))]
34
pub fn assert_accurate(actual: &Self, estimated: &Self) {
35
assert_eq!(actual.nodes, estimated.nodes, "nodes count mismatch");
36
assert_eq!(actual.scopes, estimated.scopes, "scopes count mismatch");
0 commit comments