commit | 6c50fdba69b3831f4ee848043d72dcde0396d77e | [log] [tgz] |
---|---|---|
author | bstrie <bstrie@thin> | Wed May 01 16:29:13 2019 -0400 |
committer | bstrie <bstrie@thin> | Wed May 01 16:29:13 2019 -0400 |
tree | a8a70823a49fcca4408a6bcdc2be04bb8fb3021a | |
parent | b7f8aafad415adb07f896525b907175bbccfa3b4 [diff] |
Gate these convenience impls behind the printing feature as well
diff --git a/src/expr.rs b/src/expr.rs index d3df084..76e4cab 100644 --- a/src/expr.rs +++ b/src/expr.rs
@@ -1911,7 +1911,7 @@ macro_rules! impl_trivial_parse { ($expr_type:ty, $variant:ident, $msg:expr) => ( - #[cfg(feature = "full")] + #[cfg(all(feature = "full", feature = "printing"))] impl Parse for $expr_type { fn parse(input: ParseStream) -> Result<Self> { let expr: Expr = input.parse()?;