<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/json.rs, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-11-15T13:45:49+00:00</updated>
<entry>
<title>Move JSON emitter to rustc_errors</title>
<updated>2019-11-15T13:45:49+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-11-14T22:24:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c31a8754e3f3a9274759cb429aad4ae594d39e29'/>
<id>urn:sha1:c31a8754e3f3a9274759cb429aad4ae594d39e29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove SourceMapper trait</title>
<updated>2019-11-15T13:45:43+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-11-15T13:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3f93ffc3334b77cc9025f68dfcea92098987abf3'/>
<id>urn:sha1:3f93ffc3334b77cc9025f68dfcea92098987abf3</id>
<content type='text'>
SourceMap is now in the root of all rustc-specific crates, syntax_pos,
so there's no need for the trait object to decouple the dependencies
between librustc_errors and libsyntax as was needed previously.
</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>Refactor: Rename `db` locals to `diag`</title>
<updated>2019-10-15T06:19:43+00:00</updated>
<author>
<name>Philipp Hansch</name>
<email>dev@phansch.net</email>
</author>
<published>2019-10-15T06:12:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6c75e8156143da23a5cc0a3ec5facc8fe5a6e61e'/>
<id>urn:sha1:6c75e8156143da23a5cc0a3ec5facc8fe5a6e61e</id>
<content type='text'>
https://github.com/rust-lang/rust/pull/64272 replaced
`DiagnosticBuilder` with `Diagnostic` in some places. This commit just
renames the DB variable from `db` to `diag` where it wasn't renamed.
</content>
</entry>
<entry>
<title>Bring attention to suggestions when the only difference is capitalization</title>
<updated>2019-10-14T04:48:39+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2019-10-14T04:48:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4bb771615e194e64d0fc9cd97c1cdcc4972a1771'/>
<id>urn:sha1:4bb771615e194e64d0fc9cd97c1cdcc4972a1771</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't emit explain with json short messages.</title>
<updated>2019-09-24T23:53:33+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2019-09-24T23:53:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d07874e883ae4334b42ef3ab04cc3f52ee711ee'/>
<id>urn:sha1:6d07874e883ae4334b42ef3ab04cc3f52ee711ee</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>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>
<entry>
<title>Remove lint annotations in specific crates that are already enforced by rustbuild</title>
<updated>2019-07-28T15:46:24+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-07-23T17:34:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=434152157f9d73ad1899fb8da3a61aed6f8a46d6'/>
<id>urn:sha1:434152157f9d73ad1899fb8da3a61aed6f8a46d6</id>
<content type='text'>
Remove some random unnecessary lint `allow`s
</content>
</entry>
</feed>
