<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/errors, branch 1.9.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.9.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-04-03T22:32:37+00:00</updated>
<entry>
<title>Give better spans for SpanEnd errors</title>
<updated>2016-04-03T22:32:37+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2016-04-03T22:32:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c2a8ae9cc81d86363e5c3180ce75e5925efe4a2'/>
<id>urn:sha1:8c2a8ae9cc81d86363e5c3180ce75e5925efe4a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Put in `-Z continue-parse-after-error`</title>
<updated>2016-03-30T20:23:48+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2016-03-25T17:17:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2646663b5a9b9bd021e58eb9cd8bcc63b7925c95'/>
<id>urn:sha1:2646663b5a9b9bd021e58eb9cd8bcc63b7925c95</id>
<content type='text'>
This works by adding a boolean flag, `continue_after_error`, to
`syntax::errors::Handler` that can be imperatively set to `true` or
`false` via a new `fn set_continue_after_error`.

The flag starts off true (since we generally try to recover from
compiler errors, and `Handler` is shared across all phases).

Then, during the `phase_1_parse_input`, we consult the setting of the
`-Z continue-parse-after-error` debug flag to determine whether we
should leave the flag set to `true` or should change it to `false`.

----

(We might consider adding a debugflag to do such aborts in other
places where we are currently attempting recovery, such as resolve,
but I think the parser is the really important case to handle in the
face of #31994 and the parser bugs of varying degrees that were
injected by parse error recovery.)
</content>
</entry>
<entry>
<title>Include source text in JSON errors</title>
<updated>2016-03-24T02:32:42+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2016-03-24T02:32:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9757516f1206e127374b489c44d9ef26db7315b0'/>
<id>urn:sha1:9757516f1206e127374b489c44d9ef26db7315b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix alignment</title>
<updated>2016-03-23T03:03:54+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2016-03-22T22:58:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2628f3cc8f91a52d9dcc800afb6c4a7dc0c785e0'/>
<id>urn:sha1:2628f3cc8f91a52d9dcc800afb6c4a7dc0c785e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>try! -&gt; ?</title>
<updated>2016-03-23T03:01:37+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2016-03-23T03:01:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f02309e4b0ea05ee905205278fb6d131341c41f'/>
<id>urn:sha1:0f02309e4b0ea05ee905205278fb6d131341c41f</id>
<content type='text'>
Automated conversion using the untry tool [1] and the following command:

```
$ find -name '*.rs' -type f | xargs untry
```

at the root of the Rust repo.

[1]: https://github.com/japaric/untry
</content>
</entry>
<entry>
<title>Fix rendering of single-char-span</title>
<updated>2016-02-03T15:54:37+00:00</updated>
<author>
<name>mitaa</name>
<email>mitaa.ceb@gmail.com</email>
</author>
<published>2016-02-03T15:07:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fcdedb8fb1725c8f1dafa6badb890ca8181699f'/>
<id>urn:sha1:1fcdedb8fb1725c8f1dafa6badb890ca8181699f</id>
<content type='text'>
A span spanning only a single character would render like `^~`
instead of just `^`.
</content>
</entry>
<entry>
<title>Rollup merge of #31281 - oli-obk:patch-2, r=nikomatsakis</title>
<updated>2016-02-02T05:32:18+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2016-02-02T05:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9fbb0553583bac39b442e2fe8a43f64efc1f09d'/>
<id>urn:sha1:a9fbb0553583bac39b442e2fe8a43f64efc1f09d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Spans now derive equality</title>
<updated>2016-01-31T21:18:50+00:00</updated>
<author>
<name>Daniel Campbell</name>
<email>campbelldj@hotmail.com</email>
</author>
<published>2016-01-29T06:33:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1be504068d827e4a8e42bf63a355fea9484ef5d'/>
<id>urn:sha1:e1be504068d827e4a8e42bf63a355fea9484ef5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>off by one</title>
<updated>2016-01-30T12:40:40+00:00</updated>
<author>
<name>Oliver Schneider</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2016-01-30T12:40:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54927ac57f95b4ac6747d29af45fef8e47225852'/>
<id>urn:sha1:54927ac57f95b4ac6747d29af45fef8e47225852</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update emitter.rs</title>
<updated>2016-01-29T12:45:15+00:00</updated>
<author>
<name>mitaa</name>
<email>mitaa.ceb@gmail.com</email>
</author>
<published>2016-01-29T12:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe10914adc783472ae0847d5163385d0e49046a4'/>
<id>urn:sha1:fe10914adc783472ae0847d5163385d0e49046a4</id>
<content type='text'>
</content>
</entry>
</feed>
