Parse outer attributes on literal and path expressions
diff --git a/src/expr.rs b/src/expr.rs
index 6179a57..a90470e 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -1634,9 +1634,10 @@
 
     impl Synom for ExprLit {
         named!(parse -> Self, do_parse!(
+            attrs: many0!(Attribute::parse_outer) >>
             lit: syn!(Lit) >>
             (ExprLit {
-                attrs: Vec::new(),
+                attrs: attrs,
                 lit: lit,
             })
         ));
@@ -2297,9 +2298,10 @@
 
     impl Synom for ExprPath {
         named!(parse -> Self, do_parse!(
+            attrs: many0!(Attribute::parse_outer) >>
             pair: qpath >>
             (ExprPath {
-                attrs: Vec::new(),
+                attrs: attrs,
                 qself: pair.0,
                 path: pair.1,
             })