Expression attrs are only parsed in full mode
diff --git a/src/expr.rs b/src/expr.rs
index 9424dee..0110f10 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -382,6 +382,7 @@
 impl Expr {
     // Not public API.
     #[doc(hidden)]
+    #[cfg(feature = "full")]
     pub fn attrs_mut(&mut self) -> &mut Vec<Attribute> {
         match *self {
             Expr::Box(ExprBox { ref mut attrs, .. }) |