<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/ext/log_syntax.rs, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-12-15T06:04:46+00:00</updated>
<entry>
<title>Move built-in syntax extensions to a separate crate</title>
<updated>2015-12-15T06:04:46+00:00</updated>
<author>
<name>Seo Sanghyeon</name>
<email>sanxiyn@gmail.com</email>
</author>
<published>2015-12-10T14:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f9ba1078245bc2c023f51d2a63e0ca84863600e7'/>
<id>urn:sha1:f9ba1078245bc2c023f51d2a63e0ca84863600e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow tracking issues for lang features.</title>
<updated>2015-09-08T01:01:42+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2015-09-04T23:37:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31310f5b65232ce9714f8f4c9ad066a97f7f20f4'/>
<id>urn:sha1:31310f5b65232ce9714f8f4c9ad066a97f7f20f4</id>
<content type='text'>
This is similar to the libs version, which allow an `issue` field in the
`#[unstable]` attribute.

cc #28244
</content>
</entry>
<entry>
<title>Remove the vestigial ExtCtxt::print_backtrace function.</title>
<updated>2015-04-11T23:48:52+00:00</updated>
<author>
<name>Ryan Prichard</name>
<email>ryan.prichard@gmail.com</email>
</author>
<published>2015-04-10T05:42:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ddbdf51f394226bcae162ed2d5348126b32e7dbd'/>
<id>urn:sha1:ddbdf51f394226bcae162ed2d5348126b32e7dbd</id>
<content type='text'>
It was added in 2011-08-05 and reduced to a no-op ten days later.
</content>
</entry>
<entry>
<title>Address the other cases of #22234; fix #22234.</title>
<updated>2015-02-16T00:36:06+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2015-02-15T22:49:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dc0797c0c99e7079170d0e09f82fc6f66b721932'/>
<id>urn:sha1:dc0797c0c99e7079170d0e09f82fc6f66b721932</id>
<content type='text'>
The other cases: `concat_idents!`, `log_syntax!`, and `trace_macros!`,
(these macros, with `asm!`, are handled (eagerly) in feature_gate.rs).
</content>
</entry>
<entry>
<title>Add Span and separate open/close delims to TTDelim</title>
<updated>2014-10-25T22:53:29+00:00</updated>
<author>
<name>Brendan Zabarauskas</name>
<email>bjzaba@yahoo.com.au</email>
</author>
<published>2014-10-22T05:37:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=971d776aa5a678672eb3d37f2f507664aacd2440'/>
<id>urn:sha1:971d776aa5a678672eb3d37f2f507664aacd2440</id>
<content type='text'>
This came up when working [on the gl-rs generator extension](https://github.com/bjz/gl-rs/blob/990383de801bd2e233159d5be07c9b5622827620/src/gl_generator/lib.rs#L135-L146).

The new definition of  `TTDelim` adds an associated `Span` that covers the whole token tree and enforces the invariant that a delimited sequence of token trees must have an opening and closing delimiter.

A `get_span` method has also been added to `TokenTree` type to make it easier to implement better error messages for syntax extensions.
</content>
</entry>
<entry>
<title>Implement generalized object and type parameter bounds (Fixes #16462)</title>
<updated>2014-08-28T01:46:52+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2014-08-28T01:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b487a890695e7d6dfbfe5dcd7d4fa0e8ca8003f'/>
<id>urn:sha1:1b487a890695e7d6dfbfe5dcd7d4fa0e8ca8003f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Rename the `ToStr` trait to `ToString`, and `to_str` to `to_string`.</title>
<updated>2014-07-08T20:01:43+00:00</updated>
<author>
<name>Richo Healey</name>
<email>richo@psych0tik.net</email>
</author>
<published>2014-06-21T10:39:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12c334a77b897f7b1cb6cff3c56a71ecb89c82af'/>
<id>urn:sha1:12c334a77b897f7b1cb6cff3c56a71ecb89c82af</id>
<content type='text'>
[breaking-change]
</content>
</entry>
<entry>
<title>librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, except</title>
<updated>2014-05-07T06:12:54+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-05-06T01:56:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=090040bf4037a094e50b03d79e4baf5cd89c912b'/>
<id>urn:sha1:090040bf4037a094e50b03d79e4baf5cd89c912b</id>
<content type='text'>
for `~str`/`~[]`.

Note that `~self` still remains, since I forgot to add support for
`Box&lt;self&gt;` before the snapshot.

How to update your code:

* Instead of `~EXPR`, you should write `box EXPR`.

* Instead of `~TYPE`, you should write `Box&lt;Type&gt;`.

* Instead of `~PATTERN`, you should write `box PATTERN`.

[breaking-change]
</content>
</entry>
<entry>
<title>syntax: unify all MacResult's into a single trait.</title>
<updated>2014-04-16T07:53:27+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2014-04-15T12:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99dd5911a1026da0a374b697e4a0407a631eb388'/>
<id>urn:sha1:99dd5911a1026da0a374b697e4a0407a631eb388</id>
<content type='text'>
There's now one unified way to return things from a macro, instead of
being able to choose the `AnyMacro` trait or the `MRItem`/`MRExpr`
variants of the `MacResult` enum. This does simplify the logic handling
the expansions, but the biggest value of this is it makes macros in (for
example) type position easier to implement, as there's this single thing
to modify.

By my measurements (using `-Z time-passes` on libstd and librustc etc.),
this appears to have little-to-no impact on expansion speed. There are
presumably larger costs than the small number of extra allocations and
virtual calls this adds (notably, all `macro_rules!`-defined macros have
not changed in behaviour, since they had to use the `AnyMacro` trait
anyway).
</content>
</entry>
<entry>
<title>De-@ TokenTree.</title>
<updated>2014-03-28T16:28:04+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2014-03-27T14:40:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f226e56946d20acfdf8c0c48c57fd7ba3571157'/>
<id>urn:sha1:8f226e56946d20acfdf8c0c48c57fd7ba3571157</id>
<content type='text'>
</content>
</entry>
</feed>
