<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse/parser.rs, branch 1.33.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.33.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.33.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-01-14T19:31:58+00:00</updated>
<entry>
<title>Rollup merge of #57585 - estebank:trailing-semicolon, r=petrochenkov</title>
<updated>2019-01-14T19:31:58+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-01-14T19:31:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b03d414e3c222a7f29259526fcdf95189e61fd0c'/>
<id>urn:sha1:b03d414e3c222a7f29259526fcdf95189e61fd0c</id>
<content type='text'>
Recover from item trailing semicolon

CC https://github.com/rust-lang/rfcs/pull/2479

r? @petrochenkov
</content>
</entry>
<entry>
<title>Rollup merge of #57572 - Centril:unaccept-extern-in-path, r=petrochenkov</title>
<updated>2019-01-14T19:31:57+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-01-14T19:31:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=feb48f334d29a22f2e3ae3b322af081b42fafc60'/>
<id>urn:sha1:feb48f334d29a22f2e3ae3b322af081b42fafc60</id>
<content type='text'>
Unaccept `extern_in_paths`

Based on completed fcp-close in https://github.com/rust-lang/rust/issues/55600, this removes `extern_in_path` (e.g. `extern::foo::bar`) from the language. The changes are primarily reversing https://github.com/rust-lang/rust/commit/32db83b16e06cb5cca72d0e6a648a8008eda0fac.

Closes https://github.com/rust-lang/rust/issues/55600

r? @petrochenkov
</content>
</entry>
<entry>
<title>Rollup merge of #57540 - estebank:eval-more, r=petrochenkov</title>
<updated>2019-01-14T19:31:55+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-01-14T19:31:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f7a226c4dfd8fe71a7451063b6724166b705cf2'/>
<id>urn:sha1:2f7a226c4dfd8fe71a7451063b6724166b705cf2</id>
<content type='text'>
Modify some parser diagnostics to continue evaluating beyond the parser

Continue evaluating further errors after parser errors on:
 - trailing type argument attribute
 - lifetime in incorrect location
 - incorrect binary literal
 - missing `for` in `impl Trait for Foo`
 - type argument in `where` clause
 - incorrect float literal
 - incorrect `..` in pattern
 - associated types
 - incorrect discriminator value variant error

and others. All of these were found by making `continue-parse-after-error` `true` by default to identify errors that would need few changes. There are now only a handful of errors that have any change with `continue-parse-after-error` enabled.

These changes make it so `rust` _won't_ stop evaluation after finishing parsing, enabling type checking errors to be displayed on the existing code without having to fix the parse errors.

Each commit has an individual diagnostic change with their corresponding tests.

CC #48724.
</content>
</entry>
<entry>
<title>Recover from item trailing semicolon</title>
<updated>2019-01-14T01:29:32+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-01-14T01:29:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3874c7755f292abc87fa2ce4fe82479ad063367e'/>
<id>urn:sha1:3874c7755f292abc87fa2ce4fe82479ad063367e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #57004 - nnethercote:TS-change-Stream, r=petrochenkov</title>
<updated>2019-01-13T16:21:39+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-01-13T16:21:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b1200a29b07dddb9c05b99166c7b676b6f2dbb4b'/>
<id>urn:sha1:b1200a29b07dddb9c05b99166c7b676b6f2dbb4b</id>
<content type='text'>
Make `TokenStream` less recursive.

`TokenStream` is currently recursive in *two* ways:

- the `TokenTree` variant contains a `ThinTokenStream`, which can
  contain a `TokenStream`;

- the `TokenStream` variant contains a `Vec&lt;TokenStream&gt;`.

The latter is not necessary and causes significant complexity. This
commit replaces it with the simpler `Vec&lt;(TokenTree, IsJoint)&gt;`.

This reduces complexity significantly. In particular, `StreamCursor` is
eliminated, and `Cursor` becomes much simpler, consisting now of just a
`TokenStream` and an index.

The commit also removes the `Extend` impl for `TokenStream`, because it
is only used in tests. (The commit also removes those tests.)

Overall, the commit reduces the number of lines of code by almost 200.
</content>
</entry>
<entry>
<title>remove extern_in_paths.</title>
<updated>2019-01-13T13:18:00+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-01-13T13:18:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4f6ef25d207ad0cff8d1e5282fedbe1e3ac743c'/>
<id>urn:sha1:c4f6ef25d207ad0cff8d1e5282fedbe1e3ac743c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Suggest correct location for lifetime parameters in use</title>
<updated>2019-01-13T03:25:03+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-01-13T03:25:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28ea03e11477032a29b30284487d6d73e181ecaf'/>
<id>urn:sha1:28ea03e11477032a29b30284487d6d73e181ecaf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak incorrect discriminator value variant error</title>
<updated>2019-01-12T07:12:29+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-01-12T07:12:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ead6de40d57ec78275ee398592baa814b5f0841'/>
<id>urn:sha1:3ead6de40d57ec78275ee398592baa814b5f0841</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Small tweaks to parser errors</title>
<updated>2019-01-12T06:04:54+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-01-12T06:04:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7feb802d8982fe69d7d6acef532a87ada8aae9fb'/>
<id>urn:sha1:7feb802d8982fe69d7d6acef532a87ada8aae9fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak type argument after assoc type error</title>
<updated>2019-01-12T05:45:24+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-01-12T05:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=de3c4be099993517dba7bb764628ff28e86f9320'/>
<id>urn:sha1:de3c4be099993517dba7bb764628ff28e86f9320</id>
<content type='text'>
</content>
</entry>
</feed>
