<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse/parser.rs, branch 1.29.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.29.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.29.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-07-29T09:33:37+00:00</updated>
<entry>
<title>Auto merge of #52767 - ljedrz:avoid_format, r=petrochenkov</title>
<updated>2018-07-29T09:33:37+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-07-29T09:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=023fd7e74a9eb5bafcb75fcbe69b7110e9de4492'/>
<id>urn:sha1:023fd7e74a9eb5bafcb75fcbe69b7110e9de4492</id>
<content type='text'>
Prefer to_string() to format!()

Simple benchmarks suggest in some cases it can be faster by even 37%:
```
test converting_f64_long  ... bench:         339 ns/iter (+/- 199)
test converting_f64_short ... bench:         136 ns/iter (+/- 34)
test converting_i32_long  ... bench:          87 ns/iter (+/- 16)
test converting_i32_short ... bench:          87 ns/iter (+/- 49)
test converting_str       ... bench:          54 ns/iter (+/- 15)
test formatting_f64_long  ... bench:         349 ns/iter (+/- 176)
test formatting_f64_short ... bench:         145 ns/iter (+/- 14)
test formatting_i32_long  ... bench:          98 ns/iter (+/- 14)
test formatting_i32_short ... bench:          93 ns/iter (+/- 15)
test formatting_str       ... bench:          86 ns/iter (+/- 23)
```
</content>
</entry>
<entry>
<title>Rollup merge of #52740 - estebank:crate-name, r=petrochenkov</title>
<updated>2018-07-28T08:24:58+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-07-28T08:24:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b584c3227d311f591d05ad442c08811884e99f1b'/>
<id>urn:sha1:b584c3227d311f591d05ad442c08811884e99f1b</id>
<content type='text'>
Suggest underscore when using dashes in crate namet push fork

Fix #48437.
</content>
</entry>
<entry>
<title>review comments</title>
<updated>2018-07-27T20:33:38+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2018-07-27T20:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=647d295fb2fbd3e46a517332d5023dc51ae6e317'/>
<id>urn:sha1:647d295fb2fbd3e46a517332d5023dc51ae6e317</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prefer to_string() to format!()</title>
<updated>2018-07-27T09:11:18+00:00</updated>
<author>
<name>ljedrz</name>
<email>ljedrz@gmail.com</email>
</author>
<published>2018-07-27T09:11:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=57a5a9b05423c4f832cd9a3aaa7e06d55fab6efa'/>
<id>urn:sha1:57a5a9b05423c4f832cd9a3aaa7e06d55fab6efa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Suggest underscore when using dashes in crate namet push fork</title>
<updated>2018-07-26T20:12:42+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2018-07-26T05:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a3bf27b1db29887b49614934105a105d1b8d09fc'/>
<id>urn:sha1:a3bf27b1db29887b49614934105a105d1b8d09fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #52645 - oli-obk:existential_in_fn_body, r=dtolnay</title>
<updated>2018-07-24T22:43:46+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-07-24T22:43:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f930017e109fe3ae786d800b9d7aa9041d3f74ce'/>
<id>urn:sha1:f930017e109fe3ae786d800b9d7aa9041d3f74ce</id>
<content type='text'>
Allow declaring existential types inside blocks

fixes #52631

r? @dtolnay
</content>
</entry>
<entry>
<title>Allow declaring existential types inside blocks</title>
<updated>2018-07-24T08:07:45+00:00</updated>
<author>
<name>Oliver Schneider</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2018-07-23T12:56:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e33a557de4cddfebd9fa3f6b64d6ed603482e75'/>
<id>urn:sha1:2e33a557de4cddfebd9fa3f6b64d6ed603482e75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: Implement tokenization of nested items</title>
<updated>2018-07-22T15:57:31+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2018-07-22T15:48:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d760aaf7077d0b4b1e093a3f353c4b84c2c6d394'/>
<id>urn:sha1:d760aaf7077d0b4b1e093a3f353c4b84c2c6d394</id>
<content type='text'>
Ever plagued by #43081 the compiler can return surprising spans in situations
related to procedural macros. This is exhibited by #47983 where whenever a
procedural macro is invoked in a nested item context it would fail to have
correct span information.

While #43230 provided a "hack" to cache the token stream used for each item in
the compiler it's not a full-blown solution. This commit continues to extend
this "hack" a bit more to work for nested items.

Previously in the parser the `parse_item` method would collect the tokens for an
item into a cache on the item itself. It turned out, however, that nested items
were parsed through the `parse_item_` method, so they didn't receive similar
treatment. To remedy this situation the hook for collecting tokens was moved
into `parse_item_` instead of `parse_item`.

Afterwards the token collection scheme was updated to support nested collection
of tokens. This is implemented by tracking `TokenStream` tokens instead of
`TokenTree` to allow for collecting items into streams at intermediate layers
and having them interleaved in the upper layers.

All in all, this...

Closes #47983
</content>
</entry>
<entry>
<title>Implement existential types</title>
<updated>2018-07-18T08:53:08+00:00</updated>
<author>
<name>Oliver Schneider</name>
<email>github35764891676564198441@oli-obk.de</email>
</author>
<published>2018-07-03T17:38:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=53d2ebb0adbe677a811ae130523ebceb285a8029'/>
<id>urn:sha1:53d2ebb0adbe677a811ae130523ebceb285a8029</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Address comments</title>
<updated>2018-07-14T11:57:15+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2018-07-06T20:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d142c1e53165fea78314117f59e13257d7bf85d'/>
<id>urn:sha1:7d142c1e53165fea78314117f59e13257d7bf85d</id>
<content type='text'>
</content>
</entry>
</feed>
