commit | 096d498c791c14a2e749068efd363e96eb4ae49e | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Dec 28 23:18:18 2017 -0500 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Dec 28 23:18:23 2017 -0500 |
tree | f5863e5831e7c7420f6148fe70c77c5dce8a78f7 | |
parent | e98775f6c8bc4a44af84034c129db63b505fb0ae [diff] [blame] |
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, .. }) |