Preserve attributes on let bindings
diff --git a/src/expr.rs b/src/expr.rs
index 90037c2..c312b5f 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -1602,6 +1602,7 @@
 
     impl ToTokens for Local {
         fn to_tokens(&self, tokens: &mut Tokens) {
+            tokens.append_all(self.attrs.outer());
             tokens.append("let");
             self.pat.to_tokens(tokens);
             if let Some(ref ty) = self.ty {