<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libproc_macro, branch 1.37.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.37.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.37.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-06-22T23:30:41+00:00</updated>
<entry>
<title>Fix meta-variable binding errors in macros</title>
<updated>2019-06-22T23:30:41+00:00</updated>
<author>
<name>Julien Cretin</name>
<email>cretin@google.com</email>
</author>
<published>2019-05-29T18:05:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8106b59d2faaea57301ad000d7787b70c5b2985'/>
<id>urn:sha1:b8106b59d2faaea57301ad000d7787b70c5b2985</id>
<content type='text'>
The errors are either:
- The meta-variable used in the right-hand side is not bound (or defined) in the
  left-hand side.
- The meta-variable used in the right-hand side does not repeat with the same
  kleene operator as its binder in the left-hand side. Either it does not repeat
  enough, or it uses a different operator somewhere.

This change should have no semantic impact.
</content>
</entry>
<entry>
<title>proc_macro: stop using LEB128 for RPC.</title>
<updated>2019-04-09T18:05:15+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2019-04-09T18:04:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6688b03865ed727fb71c2f14bca02dfb403eba1f'/>
<id>urn:sha1:6688b03865ed727fb71c2f14bca02dfb403eba1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use for_each to extend collections</title>
<updated>2019-04-05T21:51:07+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2019-04-05T21:51:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0730a01c5ca3b0e8760d72a05c47d4199bd64728'/>
<id>urn:sha1:0730a01c5ca3b0e8760d72a05c47d4199bd64728</id>
<content type='text'>
This updates the `Extend` implementations to use `for_each` for many
collections: `BinaryHeap`, `BTreeMap`, `BTreeSet`, `LinkedList`, `Path`,
`TokenStream`, `VecDeque`, and `Wtf8Buf`.

Folding with `for_each` enables better performance than a `for`-loop for
some iterators, especially if they can just forward to internal
iterators, like `Chain` and `FlatMap` do.
</content>
</entry>
<entry>
<title>Auto merge of #55780 - ogoffart:span_source_text, r=petrochenkov</title>
<updated>2019-03-27T08:58:40+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-03-27T08:58:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c5fb4d0d2f464bc9ab61f7693ed4dde4d9326820'/>
<id>urn:sha1:c5fb4d0d2f464bc9ab61f7693ed4dde4d9326820</id>
<content type='text'>
Introduce proc_macro::Span::source_text

A function to extract the actual source behind a Span.

Background: I would like to use `syn` in a `build.rs` script to parse the rust code, and extract part of the source code. However, `syn` only gives access to proc_macro2::Span, and i would like to get the source code behind that.
I opened an issue on proc_macro2 bug tracker for this feature https://github.com/alexcrichton/proc-macro2/issues/110  and @alexcrichton said the feature should first go upstream in proc_macro.  So there it is!

Since most of the Span API is unstable anyway, this is guarded by the same `proc_macro_span` feature as everything else.
</content>
</entry>
<entry>
<title>Use ? in some macros</title>
<updated>2019-02-24T12:59:44+00:00</updated>
<author>
<name>Taiki Endo</name>
<email>te316e89@gmail.com</email>
</author>
<published>2019-02-24T12:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=871910a2c6e8624d4ebaa08ce6201b661f8c25f3'/>
<id>urn:sha1:871910a2c6e8624d4ebaa08ce6201b661f8c25f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #57856 - lzutao:fix-old-first-edition, r=steveklabnik</title>
<updated>2019-02-14T01:41:16+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-02-14T01:41:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa896f30bb7f848b8becf54b614b8eadcef22a26'/>
<id>urn:sha1:aa896f30bb7f848b8becf54b614b8eadcef22a26</id>
<content type='text'>
Convert old first edition links to current edition one

r? @steveklabnik
</content>
</entry>
<entry>
<title>Convert old doc links to current edition</title>
<updated>2019-02-13T14:39:25+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2019-01-23T03:55:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e7f8e63ed425cef77a9ad43e463b39009c1a495a'/>
<id>urn:sha1:e7f8e63ed425cef77a9ad43e463b39009c1a495a</id>
<content type='text'>
Use footnote style to bypass the tidy check
</content>
</entry>
<entry>
<title>Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik</title>
<updated>2019-02-12T19:09:24+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-02-12T19:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b244f61b77c42d7be695afd7901ee4418559e518'/>
<id>urn:sha1:b244f61b77c42d7be695afd7901ee4418559e518</id>
<content type='text'>
Cosmetic improvements to doc comments

This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase).

r? @steveklabnik

Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far!
</content>
</entry>
<entry>
<title>tests: doc comments</title>
<updated>2019-02-10T23:42:32+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2019-02-09T21:23:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b87363e7632b3f20f9b529696ffb5d5d9c3927cd'/>
<id>urn:sha1:b87363e7632b3f20f9b529696ffb5d5d9c3927cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert removed #![feature(nll)]</title>
<updated>2019-02-10T07:13:30+00:00</updated>
<author>
<name>Taiki Endo</name>
<email>te316e89@gmail.com</email>
</author>
<published>2019-02-10T07:13:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2be0993c4e219994b355a06e82394c966a2cfa5d'/>
<id>urn:sha1:2be0993c4e219994b355a06e82394c966a2cfa5d</id>
<content type='text'>
</content>
</entry>
</feed>
