<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/tests.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-11-10T01:46:17+00:00</updated>
<entry>
<title>move config.rs to libsyntax_expand</title>
<updated>2019-11-10T01:46:17+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-10T08:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=be023ebe850261c6bb202a02a686827d821c3697'/>
<id>urn:sha1:be023ebe850261c6bb202a02a686827d821c3697</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move PResult to librustc_errors</title>
<updated>2019-11-07T12:58:36+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-11T11:06:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3667e6248ec18740ce57db7997333a30c991929b'/>
<id>urn:sha1:3667e6248ec18740ce57db7997333a30c991929b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #65074 - Rantanen:json-byte-pos, r=matklad</title>
<updated>2019-10-25T11:12:45+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-25T11:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f93be1bb3f89d6b30a3ddc39e8a462924ccd503'/>
<id>urn:sha1:1f93be1bb3f89d6b30a3ddc39e8a462924ccd503</id>
<content type='text'>
Fix the start/end byte positions in the compiler JSON output

Track the changes made during normalization in the `SourceFile` and use this information to correct the `start_byte` and `end_byte` fields in the JSON output.

This should ensure the start/end byte fields can be used to index the original file, even if Rust normalized the source code for parsing purposes. Both CRLF to LF and BOM removal are handled with this one.

The rough plan was discussed with @matklad in rust-lang-nursery/rustfix#176 - although I ended up going with `u32` offset tracking so I wouldn't need to deal with `u32 + i32` arithmetics when applying the offset to the span byte positions.

Fixes #65029
</content>
</entry>
<entry>
<title>Fix the start/end byte positions in the compiler JSON output</title>
<updated>2019-10-21T16:28:29+00:00</updated>
<author>
<name>Mikko Rantanen</name>
<email>jubjub@jubjubnest.net</email>
</author>
<published>2019-10-03T00:55:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff1860ad763baac652d3a43a93985e29ade805cb'/>
<id>urn:sha1:ff1860ad763baac652d3a43a93985e29ade805cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>panictry!(..) -&gt; .unwrap()</title>
<updated>2019-10-16T20:54:28+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-10-16T17:22:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8ca16ddfd4d92b4aca970478eeffa4d1e5fe30be'/>
<id>urn:sha1:8ca16ddfd4d92b4aca970478eeffa4d1e5fe30be</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>Replace DiagnosticBuilder with Diagnostic when emitting error</title>
<updated>2019-09-17T13:29:46+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-09-07T13:57:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cdd805506e7a01d60906f8b153afb697d687609d'/>
<id>urn:sha1:cdd805506e7a01d60906f8b153afb697d687609d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Aggregation of cosmetic changes made during work on REPL PRs: libsyntax</title>
<updated>2019-09-07T15:29:04+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2019-09-06T02:56:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49d2fd1725510fd3bf6f2937e178b1aa055ddb02'/>
<id>urn:sha1:49d2fd1725510fd3bf6f2937e178b1aa055ddb02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>flatten rustc_lexer::character_properties module</title>
<updated>2019-09-04T12:13:29+00:00</updated>
<author>
<name>Aleksey Kladov</name>
<email>aleksey.kladov@gmail.com</email>
</author>
<published>2019-09-04T10:16:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=206fe8e1c37d55d0bf3a82baaa23eb5fb148880b'/>
<id>urn:sha1:206fe8e1c37d55d0bf3a82baaa23eb5fb148880b</id>
<content type='text'>
On the call site, `rustc_lexer::is_whitespace` reads much better than
`character_properties::is_whitespace`.
</content>
</entry>
<entry>
<title>Add terminal_width debugging flag</title>
<updated>2019-08-21T18:58:24+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-08-15T00:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21f2e9334567b64436f4e6525c5c98adafd16ca2'/>
<id>urn:sha1:21f2e9334567b64436f4e6525c5c98adafd16ca2</id>
<content type='text'>
</content>
</entry>
</feed>
