<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/ext/expand.rs, branch 1.35.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.35.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.35.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-03-16T20:14:42+00:00</updated>
<entry>
<title>Refactor away `NestedMetaItemKind`</title>
<updated>2019-03-16T20:14:42+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-03-03T17:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0cf96131f444f15a2a4ac80f46a86f35fad8309a'/>
<id>urn:sha1:0cf96131f444f15a2a4ac80f46a86f35fad8309a</id>
<content type='text'>
Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields
</content>
</entry>
<entry>
<title>Rename `MetaItem::ident` to `MetaItem::path`</title>
<updated>2019-03-16T20:13:15+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-03-02T16:15:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=63116d313dbc1e8f7f0fa4a729aea8e4f824b370'/>
<id>urn:sha1:63116d313dbc1e8f7f0fa4a729aea8e4f824b370</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax_ext: Validate `#[proc_macro_derive]` input better</title>
<updated>2019-03-16T20:13:15+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-03-03T16:04:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5cb5083909f19c107aec186a72b8b9104f8ca30d'/>
<id>urn:sha1:5cb5083909f19c107aec186a72b8b9104f8ca30d</id>
<content type='text'>
Tweak some error wording
</content>
</entry>
<entry>
<title>Rollup merge of #58476 - nnethercote:rm-LazyTokenStream, r=petrochenkov</title>
<updated>2019-02-23T08:25:26+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-02-23T08:25:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=585d4d29d91065c14fb823b8044495a6e5e857c1'/>
<id>urn:sha1:585d4d29d91065c14fb823b8044495a6e5e857c1</id>
<content type='text'>
Remove `LazyTokenStream`.

`LazyTokenStream` was added in #40939. Perhaps it was an effective optimization then, but no longer. This PR removes it, making the code both simpler and faster.

r? @alexcrichton
</content>
</entry>
<entry>
<title>cleanup macro after 2018 transition</title>
<updated>2019-02-20T07:10:11+00:00</updated>
<author>
<name>Aleksey Kladov</name>
<email>aleksey.kladov@gmail.com</email>
</author>
<published>2019-02-20T07:10:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=65622e319e21d95bb7275109aecacb8e2526ce04'/>
<id>urn:sha1:65622e319e21d95bb7275109aecacb8e2526ce04</id>
<content type='text'>
We can now use `?`
</content>
</entry>
<entry>
<title>Remove `LazyTokenStream`.</title>
<updated>2019-02-17T22:46:33+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>nnethercote@mozilla.com</email>
</author>
<published>2019-02-14T22:10:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8801f3bf641f0277087e6621d09f9a6a373b36c'/>
<id>urn:sha1:f8801f3bf641f0277087e6621d09f9a6a373b36c</id>
<content type='text'>
It's present within `Token::Interpolated` as an optimization, so that if
a nonterminal is converted to a `TokenStream` multiple times, the
first-computed value is saved and reused.

But in practice it's not needed. `interpolated_to_tokenstream()` is a
cold function: it's only called a few dozen times while compiling rustc
itself, and a few hundred times across the entire `rustc-perf` suite.
Furthermore, when it is called, it is almost always the first
conversion, so no benefit is gained from it.

So this commit removes `LazyTokenStream`, along with the now-unnecessary
`Token::interpolated()`.

As well as a significant simplification, the removal speeds things up
slightly, mostly due to not having to `drop` the `LazyTokenStream`
instances.
</content>
</entry>
<entry>
<title>Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasper</title>
<updated>2019-02-13T03:37:04+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-02-13T03:37:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0bc8f6f3f4ecfa3309aaa4df52fb4aa1ddd63b07'/>
<id>urn:sha1:0bc8f6f3f4ecfa3309aaa4df52fb4aa1ddd63b07</id>
<content type='text'>
Rename rustc_errors dependency in rust 2018 crates

I think this is a better solution than `use rustc_errors as errors` in `lib.rs` and `use crate::errors` in modules.

Related: rust-lang/cargo#5653

cc #58099

r? @Centril
</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>Cleanup imports</title>
<updated>2019-02-12T15:31:51+00:00</updated>
<author>
<name>Taiki Endo</name>
<email>te316e89@gmail.com</email>
</author>
<published>2019-02-09T02:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c360ba285c5a74ce659811a0c72fb7bf32ec0b85'/>
<id>urn:sha1:c360ba285c5a74ce659811a0c72fb7bf32ec0b85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename rustc_errors dependency in rust 2018 crates</title>
<updated>2019-02-12T15:28:52+00:00</updated>
<author>
<name>Taiki Endo</name>
<email>te316e89@gmail.com</email>
</author>
<published>2019-02-07T15:56:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3216c7656afbada6af3cbf77ef5236a7153f58e8'/>
<id>urn:sha1:3216c7656afbada6af3cbf77ef5236a7153f58e8</id>
<content type='text'>
</content>
</entry>
</feed>
