Skip to content

Commit 68aaa8d

Browse files
committed
Allow unused code in tests
To avoid working around some code being unused in tests due to it being stubbed out with `#[cfg(test)]`.
1 parent 9c05758 commit 68aaa8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/bootstrap/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
//!
1616
//! More documentation can be found in each respective module below, and you can
1717
//! also check out the `src/bootstrap/README.md` file for more information.
18+
#![cfg_attr(test, allow(unused))]
1819

1920
use std::cell::{Cell, RefCell};
2021
use std::collections::{BTreeSet, HashMap, HashSet};

0 commit comments

Comments
 (0)