Skip to content

Commit dc97374

Browse files
committed
Allow unused rules in some places in the compiler, library and tools
1 parent 1ccb5cc commit dc97374

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alloc/src/macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ macro_rules! vec {
5656
// `slice::into_vec` function which is only available with cfg(test)
5757
// NB see the slice::hack module in slice.rs for more information
5858
#[cfg(all(not(no_global_oom_handling), test))]
59+
#[cfg_attr(not(bootstrap), allow(unused_macro_rules))]
5960
macro_rules! vec {
6061
() => (
6162
$crate::vec::Vec::new()

0 commit comments

Comments
 (0)