diff options
| author | bors <bors@rust-lang.org> | 2017-03-11 22:48:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-03-11 22:48:14 +0000 |
| commit | 1b19284ad9d85f2848650be6dd466ad0e1e2d82c (patch) | |
| tree | 5d37bae176049302af3b44b780e7b344a51a15d6 /src/libstd/sys/unix/ext/net.rs | |
| parent | e4eb964dd950eb9afe861efc4ea5fc58c33b8296 (diff) | |
| parent | 8c98996934658631308e8fb4069d2db68ff44927 (diff) | |
| download | rust-1b19284ad9d85f2848650be6dd466ad0e1e2d82c.tar.gz rust-1b19284ad9d85f2848650be6dd466ad0e1e2d82c.zip | |
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
Diffstat (limited to 'src/libstd/sys/unix/ext/net.rs')
0 files changed, 0 insertions, 0 deletions
