Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Attrs are now allowed in statement and expression contexts. This will of
course break the build, as syntex_syntax will need to be updated as
well.

I also noticed that the test suite doesn't check nightly, only stable.
Perhaps we should update to run both?
  • Loading branch information
sgrif committed Dec 6, 2015
1 parent 31d3254 commit a53aa76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quasi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ impl ToTokens for ast::Lit {
id: ast::DUMMY_NODE_ID,
node: ast::ExprLit(P(self.clone())),
span: DUMMY_SP,
attrs: None,
}).to_tokens(cx)
}
}
Expand Down

0 comments on commit a53aa76

Please sign in to comment.