<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse, branch 1.24.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.24.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.24.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-01-12T22:23:27+00:00</updated>
<entry>
<title>Treat #[path] files as mod.rs files</title>
<updated>2018-01-12T22:23:27+00:00</updated>
<author>
<name>Taylor Cramer</name>
<email>cramertj@google.com</email>
</author>
<published>2018-01-09T18:54:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=98e4540515c47ee242859bc1359bb70b28acee8e'/>
<id>urn:sha1:98e4540515c47ee242859bc1359bb70b28acee8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #46895 - ricochet1k:macro-lifetimes, r=jseyfried</title>
<updated>2018-01-01T07:21:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-01-01T07:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1bcc6dc7ea430b7d403a57f60e48b3c3cdfcf562'/>
<id>urn:sha1:1bcc6dc7ea430b7d403a57f60e48b3c3cdfcf562</id>
<content type='text'>
Allow lifetimes in macros

This is a resurrection of PR #41927 which was a resurrection of #33135, which is intended to fix #34303.

In short, this allows macros_rules! to use :lifetime as a matcher to match 'lifetimes.

Still to do:
- [x]  Feature gate
</content>
</entry>
<entry>
<title>in which leading zeroes on tuple-struct accesses are abjured</title>
<updated>2017-12-31T05:16:16+00:00</updated>
<author>
<name>Zack M. Davis</name>
<email>code@zackmdavis.net</email>
</author>
<published>2017-12-31T05:16:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0f880ddd95b5ed73bb9db66119c730fecb23fad'/>
<id>urn:sha1:b0f880ddd95b5ed73bb9db66119c730fecb23fad</id>
<content type='text'>
Resolves #47073.
</content>
</entry>
<entry>
<title>refactor lifetime out of is_lifetime</title>
<updated>2017-12-31T02:47:45+00:00</updated>
<author>
<name>Matt Peterson</name>
<email>ricochet1k@gmail.com</email>
</author>
<published>2017-12-31T02:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b4bdc2f3f753e0d0b00ecc892a813e9786621e9'/>
<id>urn:sha1:8b4bdc2f3f753e0d0b00ecc892a813e9786621e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup</title>
<updated>2017-12-28T16:32:05+00:00</updated>
<author>
<name>Matt Peterson</name>
<email>ricochet1k@gmail.com</email>
</author>
<published>2017-12-21T13:45:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e838cfce03caf9394fb71c909ab9e1afa8bae282'/>
<id>urn:sha1:e838cfce03caf9394fb71c909ab9e1afa8bae282</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests</title>
<updated>2017-12-28T16:32:05+00:00</updated>
<author>
<name>Matt Peterson</name>
<email>ricochet1k@gmail.com</email>
</author>
<published>2017-12-20T22:22:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce76b1a1f396dd27e8c73bd59333aef42308920b'/>
<id>urn:sha1:ce76b1a1f396dd27e8c73bd59333aef42308920b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace parse_lifetime with expect_lifetime</title>
<updated>2017-12-28T16:32:05+00:00</updated>
<author>
<name>Michael Hewson</name>
<email>mah957@gmail.com</email>
</author>
<published>2017-05-11T22:59:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e12b87096a9c1856db9874c3af0bc64423b5477a'/>
<id>urn:sha1:e12b87096a9c1856db9874c3af0bc64423b5477a</id>
<content type='text'>
made `parser::Parser::expect_lifetime` public, so it can be called from `macro_parser::parse_nt`
</content>
</entry>
<entry>
<title>Resurrecting #33135</title>
<updated>2017-12-28T16:32:05+00:00</updated>
<author>
<name>Michael Hewson</name>
<email>mah957@gmail.com</email>
</author>
<published>2017-05-10T00:30:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03a51019a40c1c5e2ab1635f993fc71517d1edc2'/>
<id>urn:sha1:03a51019a40c1c5e2ab1635f993fc71517d1edc2</id>
<content type='text'>
Started rebasing @sgrif's PR #33135 off of current master. (Well, actually merging it into a new branch based off current master.)

The following files still need to be fixed or at least reviewed:

- `src/libsyntax/ext/tt/macro_parser.rs`: calls `Parser::parse_lifetime`, which doesn't exist anymore
- `src/libsyntax/parse/parser.rs`: @sgrif added an error message to `Parser::parse_lifetime`. Code has since been refactored, so I just took it out for now.
- `src/libsyntax/ext/tt/transcribe.rs`: This code has been refactored bigtime. Not sure whether @sgrif's changes here are still necessary. Took it out for this commit.
</content>
</entry>
<entry>
<title>Auto merge of #46732 - estebank:silence-recovered-blocks, r=petrochenkov</title>
<updated>2017-12-22T07:22:33+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2017-12-22T07:22:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c2ecab112131b10894f2930b7b152cfcbdda43e9'/>
<id>urn:sha1:c2ecab112131b10894f2930b7b152cfcbdda43e9</id>
<content type='text'>
Do not emit type errors on recovered blocks

When a parse error occurs on a block, the parser will recover and create
a block with the statements collected until that point. Now a flag
stating that a recovery has been performed in this block is propagated
so that the type checker knows that the type of the block (which will be
identified as `()`) shouldn't be checked against the expectation to
reduce the amount of irrelevant diagnostic errors shown to the user.

Fix #44579.
</content>
</entry>
<entry>
<title>Do not emit type errors on recovered blocks</title>
<updated>2017-12-21T22:57:42+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2017-12-14T07:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aaf3e318fc33edcc6dbf0920998c3f27d00dd818'/>
<id>urn:sha1:aaf3e318fc33edcc6dbf0920998c3f27d00dd818</id>
<content type='text'>
When a parse error occurs on a block, the parser will recover and create
a block with the statements collected until that point. Now a flag
stating that a recovery has been performed in this block is propagated
so that the type checker knows that the type of the block (which will be
identified as `()`) shouldn't be checked against the expectation to
reduce the amount of irrelevant diagnostic errors shown to the user.
</content>
</entry>
</feed>
