<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/ext/base.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>2019-10-16T08:59:53+00:00</updated>
<entry>
<title>move syntax::ext to new crate syntax_expand</title>
<updated>2019-10-16T08:59:53+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-16T08:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d420d719c4c44c3c6d02b5fafba4f2cf5e837dba'/>
<id>urn:sha1:d420d719c4c44c3c6d02b5fafba4f2cf5e837dba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax::parse::sess -&gt; syntax::sess</title>
<updated>2019-10-15T07:41:58+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-14T08:08:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae156a56d4ae27e2fca8d51aa63d5322b500c91f'/>
<id>urn:sha1:ae156a56d4ae27e2fca8d51aa63d5322b500c91f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proc_macro: Add `Span::mixed_site` exposing `macro_rules` hygiene</title>
<updated>2019-10-03T08:28:06+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-09-22T15:38:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1310dc6c989e191d85c73c943d4175fbf1dccb8'/>
<id>urn:sha1:d1310dc6c989e191d85c73c943d4175fbf1dccb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Item.node` to `Item.kind`</title>
<updated>2019-09-26T17:21:48+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-09-26T16:51:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7bc94cc3c2ccef8b4d393910bb978a6487db1202'/>
<id>urn:sha1:7bc94cc3c2ccef8b4d393910bb978a6487db1202</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Stmt.node` to `Stmt.kind`</title>
<updated>2019-09-26T17:21:10+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-09-26T16:34:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21bf983acbb5d7ac8fb9462cbf2cc4c280abd857'/>
<id>urn:sha1:21bf983acbb5d7ac8fb9462cbf2cc4c280abd857</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Ty.node` to `Ty.kind`</title>
<updated>2019-09-26T17:21:10+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-09-26T16:25:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3d8791373005ef08c876aa649ede245efd2352d'/>
<id>urn:sha1:c3d8791373005ef08c876aa649ede245efd2352d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Lit.node` to `Lit.kind`</title>
<updated>2019-09-26T17:21:09+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-09-26T15:56:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=17726f6b52b68279384cfb13209f015ab491c1c0'/>
<id>urn:sha1:17726f6b52b68279384cfb13209f015ab491c1c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Pat.node` to `Pat.kind`</title>
<updated>2019-09-26T17:21:09+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-09-26T15:18:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8bd0382134368d8bc017185baba9e5276693ef6a'/>
<id>urn:sha1:8bd0382134368d8bc017185baba9e5276693ef6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Expr.node` to `Expr.kind`</title>
<updated>2019-09-26T17:21:09+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2019-09-26T13:39:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95f6d72a60461a4a432d7e8971bb6a1899456b56'/>
<id>urn:sha1:95f6d72a60461a4a432d7e8971bb6a1899456b56</id>
<content type='text'>
For both `ast::Expr` and `hir::Expr`.
</content>
</entry>
<entry>
<title>Rollup merge of #64698 - Centril:infer-const-with-stash, r=estebank</title>
<updated>2019-09-24T21:45:24+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-09-24T21:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0d0f753955afe5c79d260b03f7fbe68ee53d4950'/>
<id>urn:sha1:0d0f753955afe5c79d260b03f7fbe68ee53d4950</id>
<content type='text'>
Recover on `const X = 42;` and infer type + Error Stash API

Here we:

1. Introduce a notion of the "error stash".

   This is a map in the `Handler` to which you can `err.stash(...)` away your diagnostics and then steal them in a later "phase" of the compiler (e.g. stash in parser, steal in typeck) to enrich them with more information that isn't available in the previous "phase".

    I believe I've covered all the bases to make sure these diagnostics are actually emitted eventually even under `#[cfg(FALSE)]` but please check my logic.

2. Recover when parsing `[const | static mut?] $ident = $expr;` which has a missing type.

    Use the "error stash" to stash away the error and later steal the error in typeck where we emit the error as `MachineApplicable` with the actual inferred type. This builds on https://github.com/rust-lang/rust/pull/62804.

cc https://github.com/rust-lang/rfcs/pull/2545

r? @estebank
</content>
</entry>
</feed>
