<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/proc-macro, branch 1.45.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.45.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.45.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-05-30T21:24:56+00:00</updated>
<entry>
<title>Add a test for `$:ident` in proc macro input</title>
<updated>2020-05-30T21:24:56+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-05-30T21:20:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81e06dac84fe073016befc2e860310fcd87715d6'/>
<id>urn:sha1:81e06dac84fe073016befc2e860310fcd87715d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test-macros: Avoid always producing errors in `#[derive(Print)]`</title>
<updated>2020-05-30T21:17:33+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-05-30T21:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d5ce340cd643cbb775728cfd223a7a4b5281bae'/>
<id>urn:sha1:4d5ce340cd643cbb775728cfd223a7a4b5281bae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Add test for macro_rules! invoking a proc-macro with capture groups"</title>
<updated>2020-05-29T04:19:08+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-05-29T04:19:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d4facbe4f0290c511c21167e48074786ad75efd'/>
<id>urn:sha1:4d4facbe4f0290c511c21167e48074786ad75efd</id>
<content type='text'>
This reverts commit 30c00fd26a24f349df64a7c0f5c3490e9f624322.
</content>
</entry>
<entry>
<title>Collect tokens for `ast::Expr`</title>
<updated>2020-05-24T19:54:48+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-05-19T20:56:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=14382c6437140bdc2ffaa66edd66f5726a88f156'/>
<id>urn:sha1:14382c6437140bdc2ffaa66edd66f5726a88f156</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test for macro_rules! invoking a proc-macro with capture groups</title>
<updated>2020-05-22T19:07:41+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-05-20T17:16:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=30c00fd26a24f349df64a7c0f5c3490e9f624322'/>
<id>urn:sha1:30c00fd26a24f349df64a7c0f5c3490e9f624322</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests</title>
<updated>2020-05-20T19:33:58+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-05-20T19:33:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=633293fc3a54247f4308507632040424356a9e19'/>
<id>urn:sha1:633293fc3a54247f4308507632040424356a9e19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a fixed-point iteration when breaking tokens</title>
<updated>2020-05-19T23:47:23+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-05-19T23:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4a8ccdcc0b518e3c1878ce0be888fd85521b2026'/>
<id>urn:sha1:4a8ccdcc0b518e3c1878ce0be888fd85521b2026</id>
<content type='text'>
Some tokens need to be broken in a loop until we reach
'unbreakable' tokens.
</content>
</entry>
<entry>
<title>Break tokens before checking if they are 'probably equal'</title>
<updated>2020-05-19T22:48:26+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-05-17T19:51:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b2b8a5afa833795b66267684615497c9547878d'/>
<id>urn:sha1:9b2b8a5afa833795b66267684615497c9547878d</id>
<content type='text'>
Fixes #68489

When checking two `TokenStreams` to see if they are 'probably equal',
we ignore the `IsJoint` information associated with each `TokenTree`.
However, the `IsJoint` information determines whether adjacent tokens
will be 'glued' (if possible) when construction the `TokenStream` - e.g.
`[Gt Gt]` can be 'glued' to `BinOp(Shr)`.

Since we are ignoring the `IsJoint` information, 'glued' and 'unglued'
tokens are equivalent for determining if two `TokenStreams` are
'probably equal'. Therefore, we need to 'unglue' all tokens in the
stream to avoid false negatives (which cause us to throw out the cached
tokens, losing span information).
</content>
</entry>
<entry>
<title>Auto merge of #68717 - petrochenkov:stabexpat, r=varkor</title>
<updated>2020-05-19T03:11:32+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-05-19T03:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5943351d0eb878c1cb5af42b9e85e101d8c58ed7'/>
<id>urn:sha1:5943351d0eb878c1cb5af42b9e85e101d8c58ed7</id>
<content type='text'>
Stabilize fn-like proc macros in expression, pattern and statement positions

I.e. all the positions in which stable `macro_rules` macros are supported.

Depends on https://github.com/rust-lang/rust/pull/68716 ("Stabilize `Span::mixed_site`").

cc https://github.com/rust-lang/rust/issues/54727
cc https://github.com/rust-lang/rust/issues/54727#issuecomment-580647446

Stabilization report: https://github.com/rust-lang/rust/pull/68717#issuecomment-623197503.
</content>
</entry>
<entry>
<title>Add test of proc_macro::TokenStream's Debug</title>
<updated>2020-05-15T16:04:00+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2020-05-15T16:01:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4c4b4c4ab407f0ccdfc71caf443735e5ba62539c'/>
<id>urn:sha1:4c4b4c4ab407f0ccdfc71caf443735e5ba62539c</id>
<content type='text'>
</content>
</entry>
</feed>
