<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse/parser/expr.rs, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-11-10T02:57:18+00:00</updated>
<entry>
<title>move syntax::parse -&gt; librustc_parse</title>
<updated>2019-11-10T02:57:18+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-15T20:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ae2728fa8052915414127dce28245eb8f70842a'/>
<id>urn:sha1:4ae2728fa8052915414127dce28245eb8f70842a</id>
<content type='text'>
also move MACRO_ARGUMENTS -&gt; librustc_parse
</content>
</entry>
<entry>
<title>move syntax::{parse::literal -&gt; util::literal}</title>
<updated>2019-11-07T12:59:13+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-11T16:47:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc9c139694389c8df158640d4bcc20a2fe31f1ea'/>
<id>urn:sha1:cc9c139694389c8df158640d4bcc20a2fe31f1ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move parse::classify -&gt; util::classify</title>
<updated>2019-11-07T12:59:13+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-11T11:17:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=255b12a8d3ef3639b4b389fc56d93bd80f03d087'/>
<id>urn:sha1:255b12a8d3ef3639b4b389fc56d93bd80f03d087</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move PResult to librustc_errors</title>
<updated>2019-11-07T12:58:36+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-11T11:06:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3667e6248ec18740ce57db7997333a30c991929b'/>
<id>urn:sha1:3667e6248ec18740ce57db7997333a30c991929b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax::parser::token -&gt; syntax::token</title>
<updated>2019-11-07T12:50:12+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-11T10:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf'/>
<id>urn:sha1:9d6768a478b8a6afa1e16dfebe9d79bd3f508cdf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #65974 - Centril:matcher-friendly-gating, r=petrochenkov</title>
<updated>2019-11-07T07:51:57+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-11-07T07:51:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e19cb40fda70ea3f75bc1927c114ea53d231b288'/>
<id>urn:sha1:e19cb40fda70ea3f75bc1927c114ea53d231b288</id>
<content type='text'>
A scheme for more macro-matcher friendly pre-expansion gating

Pre-expansion gating will now avoid gating macro matchers that did not result in `Success(...)`. That is, the following is now OK despite `box 42` being a valid `expr` and that form being pre-expansion gated:

```rust
macro_rules! m {
    ($e:expr) =&gt; { 0 }; // This fails on the input below due to `, foo`.
    (box $e:expr, foo) =&gt; { 1 }; // Successful matcher, we should get `2`.
}

fn main() {
    assert_eq!(1, m!(box 42, foo));
}
```

Closes https://github.com/rust-lang/rust/issues/65846.

r? @petrochenkov
cc @Mark-Simulacrum
</content>
</entry>
<entry>
<title>parser: allow ABIs from literal macro fragments</title>
<updated>2019-11-07T04:25:31+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-27T23:29:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1db4d607e7621a7d813743e83125859a47970f79'/>
<id>urn:sha1:1db4d607e7621a7d813743e83125859a47970f79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>revamp pre-expansion gating infra</title>
<updated>2019-11-06T11:30:08+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-30T15:38:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe95cd2f4b3a722e023dc7bba8ff65136be441ca'/>
<id>urn:sha1:fe95cd2f4b3a722e023dc7bba8ff65136be441ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pre-expansion gate type_ascription</title>
<updated>2019-10-23T22:32:03+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-09-21T22:19:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=15a6c09b6e8a977f2c6f5a73de01a20d00b37930'/>
<id>urn:sha1:15a6c09b6e8a977f2c6f5a73de01a20d00b37930</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pre-expansion gate box_syntax</title>
<updated>2019-10-23T22:32:03+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-09-21T22:06:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e4ed8865786a787a7b0c045f7674569b6be0e9bc'/>
<id>urn:sha1:e4ed8865786a787a7b0c045f7674569b6be0e9bc</id>
<content type='text'>
</content>
</entry>
</feed>
