commit | d3f32141c696a7a3777dd486817da42a6f883e74 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun May 20 20:21:12 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun May 20 20:21:20 2018 -0700 |
tree | 28da6e62230fce5885140b61941076d3d1a7ecf6 | |
parent | 01ed0ce1b139c3376aa253854f0523a6ba935a1b [diff] [blame] |
Fix unused fold macro
diff --git a/codegen/src/main.rs b/codegen/src/main.rs index 37c5edd..44b9d8b 100644 --- a/codegen/src/main.rs +++ b/codegen/src/main.rs
@@ -990,6 +990,7 @@ {fold_trait} }} +#[cfg(any(feature = \"full\", feature = \"derive\"))] macro_rules! fold_span_only {{ ($f:ident : $t:ident) => {{ pub fn $f<V: Fold + ?Sized>(_visitor: &mut V, mut _i: $t) -> $t {{