<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse, branch 1.10.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.10.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.10.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-05-14T10:23:37+00:00</updated>
<entry>
<title>syntax: Refactor parsing of method declarations</title>
<updated>2016-05-14T10:23:37+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2016-05-08T18:18:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=212d5d43524123a45c6a88174fd3c771057faf47'/>
<id>urn:sha1:212d5d43524123a45c6a88174fd3c771057faf47</id>
<content type='text'>
Fix spans and expected token lists, fix #33413 + other cosmetic improvements
Add test for #33413
Convert between `Arg` and `ExplicitSelf` precisely
Simplify pretty-printing for methods
</content>
</entry>
<entry>
<title>Rollup merge of #33336 - birkenfeld:issue-27361, r=sfackler</title>
<updated>2016-05-07T19:35:17+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2016-05-07T19:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8162171fdc1a0400f340454ebbca8aa4cd90007'/>
<id>urn:sha1:a8162171fdc1a0400f340454ebbca8aa4cd90007</id>
<content type='text'>
parser: do not try to continue with `unsafe` on foreign fns

The changed line makes it look like `unsafe` is allowed, but the first statement of `parse_item_foreign_fn` is:

```
self.expect_keyword(keywords::Fn)?;
```

So we get the strange "expected one of `fn`, `pub`, `static`, or `unsafe`, found `unsafe`".

Fixes: #27361
</content>
</entry>
<entry>
<title>Auto merge of #33333 - birkenfeld:issue-30318, r=Manishearth</title>
<updated>2016-05-07T10:01:44+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2016-05-07T10:01:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0d61bb3b497e3e0c788315dd8756f3dc18060c69'/>
<id>urn:sha1:0d61bb3b497e3e0c788315dd8756f3dc18060c69</id>
<content type='text'>
parser: show a helpful note on unexpected inner comment

Fixes: #30318.
</content>
</entry>
<entry>
<title>Auto merge of #33311 - birkenfeld:issue33262, r=nrc</title>
<updated>2016-05-07T05:39:43+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2016-05-07T05:39:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6478583cdb57aea8d2b9ceb25dfe5ba60a7083a3'/>
<id>urn:sha1:6478583cdb57aea8d2b9ceb25dfe5ba60a7083a3</id>
<content type='text'>
parser: fix suppression of syntax errors in range RHS

Invalid expressions on the RHS were just swallowed without generating an error.  The new version more closely mirrors the code for parsing `..x` in the `parse_prefix_range_expr` method below, where no cancel is done either.

Fixes #33262.
</content>
</entry>
<entry>
<title>Auto merge of #33128 - xen0n:more-confusing-unicode-chars, r=nagisa</title>
<updated>2016-05-05T15:50:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2016-05-05T15:50:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=413bafdabf5c5716fd823ac9a6232c48e2ba2902'/>
<id>urn:sha1:413bafdabf5c5716fd823ac9a6232c48e2ba2902</id>
<content type='text'>
Add more aliases for Unicode confusable chars

Building upon #29837, this PR:

* added aliases for space characters,
* distinguished square brackets from parens, and
* added common CJK punctuation characters as aliases.

This will especially help CJK users who may have forgotten to switch off IME when coding.
</content>
</entry>
<entry>
<title>parser: show a helpful note on unexpected inner comment</title>
<updated>2016-05-03T15:53:23+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2016-05-02T05:27:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72560e14039525cf70bcf3343524790978a27475'/>
<id>urn:sha1:72560e14039525cf70bcf3343524790978a27475</id>
<content type='text'>
Fixes: #30318.
</content>
</entry>
<entry>
<title>Rollup merge of #33343 - birkenfeld:issue-32214, r=Manishearth</title>
<updated>2016-05-03T14:24:55+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2016-05-03T13:39:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51a3a8f5230e6c77b4ecea397742fcf51ff5b749'/>
<id>urn:sha1:51a3a8f5230e6c77b4ecea397742fcf51ff5b749</id>
<content type='text'>
parser: change warning into an error on `T&lt;A=B, C&gt;`

part of #32214

This seems to be the obvious fix, and the error message is consistent with all the other parser errors ("expected x, found y").
</content>
</entry>
<entry>
<title>Rollup merge of #33334 - birkenfeld:issue29088, r=Manishearth</title>
<updated>2016-05-03T02:35:29+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2016-05-02T19:32:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac19fdc09c47f0402f840173d31955647516331b'/>
<id>urn:sha1:ac19fdc09c47f0402f840173d31955647516331b</id>
<content type='text'>
lexer: do not display char confusingly in error message

Current code leads to messages like `... use a \xHH escape: \u{e4}` which is confusing.

The printed span already points to the offending character, which should be enough to identify the non-ASCII problem.

Fixes: #29088
</content>
</entry>
<entry>
<title>replace fileline_{help,note} with {help,note}</title>
<updated>2016-05-02T15:49:23+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-04-20T18:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=489a6c95bf747059b28472efc17d39795c6adcad'/>
<id>urn:sha1:489a6c95bf747059b28472efc17d39795c6adcad</id>
<content type='text'>
The extra filename and line was mainly there to keep the indentation
relative to the main snippet; now that this doesn't include
filename/line-number as a prefix, it is distracted.
</content>
</entry>
<entry>
<title>parser: change warning into an error on `T&lt;A=B, C&gt;`</title>
<updated>2016-05-02T13:10:28+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2016-05-02T13:09:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=98d991fac531d9a437a697dc7ad29967c978a3d3'/>
<id>urn:sha1:98d991fac531d9a437a697dc7ad29967c978a3d3</id>
<content type='text'>
Fixes: #32214
</content>
</entry>
</feed>
