We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ccb5cc commit dc97374Copy full SHA for dc97374
alloc/src/macros.rs
@@ -56,6 +56,7 @@ macro_rules! vec {
56
// `slice::into_vec` function which is only available with cfg(test)
57
// NB see the slice::hack module in slice.rs for more information
58
#[cfg(all(not(no_global_oom_handling), test))]
59
+#[cfg_attr(not(bootstrap), allow(unused_macro_rules))]
60
macro_rules! vec {
61
() => (
62
$crate::vec::Vec::new()
0 commit comments