Files
rust/src/libsyntax
bors 1b19284ad9 Auto merge of #40220 - jseyfried:ast_macro_def, r=nrc
syntax: add `ast::ItemKind::MacroDef`, simplify hygiene info

This PR
 - adds a new variant `MacroDef` to `ast::ItemKind` for `macro_rules!` and eventually `macro` items,
 - [breaking-change] forbids macro defs without a name (`macro_rules! { () => {} }` compiles today),
 - removes `ast::MacroDef`, and
 - no longer uses `Mark` and `Invocation` to identify and characterize macro definitions.
   - We used to apply (at least) two `Mark`s to an expanded identifier's `SyntaxContext` -- the definition mark(s) and the expansion mark(s). We now only apply the latter.

r? @nrc
2017-03-11 22:48:14 +00:00
..
2017-02-03 13:25:46 -08:00
2017-01-22 21:37:38 +00:00
2017-02-21 15:52:14 +01:00
2016-11-21 09:00:56 +00:00
2017-01-29 02:57:14 +03:00
2017-03-03 02:15:39 +00:00
2017-03-10 08:08:32 -08:00