<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/errors/snippet, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-06-23T12:07:35+00:00</updated>
<entry>
<title>Move errors from libsyntax to its own crate</title>
<updated>2016-06-23T12:07:35+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-06-21T22:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ae350213485f7c917113f3916e58c51cef97a76'/>
<id>urn:sha1:6ae350213485f7c917113f3916e58c51cef97a76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add an abs_path member to FileMap, use it when writing debug info.</title>
<updated>2016-06-16T17:08:46+00:00</updated>
<author>
<name>Ted Mielczarek</name>
<email>ted@mielczarek.org</email>
</author>
<published>2016-06-09T20:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=24e7491660845e52240afc36acf332b92547b0a1'/>
<id>urn:sha1:24e7491660845e52240afc36acf332b92547b0a1</id>
<content type='text'>
When items are inlined from extern crates, the filename in the debug info
is taken from the FileMap that's serialized in the rlib metadata.
Currently this is just FileMap.name, which is whatever path is passed to rustc.
Since libcore and libstd are built by invoking rustc with relative paths,
they wind up with relative paths in the rlib, and when linked into a binary
the debug info uses relative paths for the names, but since the compilation
directory for the final binary, tools trying to read source filenames
will wind up with bad paths. We noticed this in Firefox with source
filenames from libcore/libstd having bad paths.

This change stores an absolute path in FileMap.abs_path, and uses that
if available for writing debug info. This is not going to magically make
debuggers able to find the source, but it will at least provide sensible
paths.
</content>
</entry>
<entry>
<title>Back to single line between errors. Add header space to secondary files</title>
<updated>2016-05-24T14:42:32+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-24T14:42:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=00b78d0d6ad5985a29d9b1b001e81dbb1bf624b6'/>
<id>urn:sha1:00b78d0d6ad5985a29d9b1b001e81dbb1bf624b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update error format for readability. Add spacing header&lt;-&gt;snippet and another line between errors</title>
<updated>2016-05-23T16:51:00+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-23T16:50:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e5574803fcc09b855e33b7a71abb304b9cd6c54'/>
<id>urn:sha1:9e5574803fcc09b855e33b7a71abb304b9cd6c54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>De-emph minimized spans, add better debugging output</title>
<updated>2016-05-17T10:46:08+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-16T19:39:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3e9747af497d826aa863e5d47830d7cfc80d94d2'/>
<id>urn:sha1:3e9747af497d826aa863e5d47830d7cfc80d94d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Print secondary labels as notes in old skool mode</title>
<updated>2016-05-17T10:46:08+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-16T12:50:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae1e73affed86261c25d78a83559ece534bbde21'/>
<id>urn:sha1:ae1e73affed86261c25d78a83559ece534bbde21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #33619 - jonathandturner:improve_structured_errors, r=nikomatsakis</title>
<updated>2016-05-15T22:08:46+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2016-05-15T22:08:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5ebe41835fcc3dbfdbe282a9b4c3780968c0a97a'/>
<id>urn:sha1:5ebe41835fcc3dbfdbe282a9b4c3780968c0a97a</id>
<content type='text'>
Batch of improvements to errors for new error format

This is a batch of improvements to existing errors to help get the most out of the new error format.

* Added labels to primary spans (^^^) for a set of errors that didn't currently have them
* Highlight the source blue under the secondary notes for better readability
* Move some of the "Note:" into secondary spans+labels
* Fix span_label to take &amp;mut instead, which makes it work the same as other methods in that set
</content>
</entry>
<entry>
<title>Set of fixes to improve borrowcks that weren't updated</title>
<updated>2016-05-12T23:39:19+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-09T21:20:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f3054ce18ca747b8354137f07230bd2251d7985c'/>
<id>urn:sha1:f3054ce18ca747b8354137f07230bd2251d7985c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Better handling of tab in error</title>
<updated>2016-05-12T07:28:13+00:00</updated>
<author>
<name>Seo Sanghyeon</name>
<email>sanxiyn@gmail.com</email>
</author>
<published>2016-05-09T14:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3310327552163e2d19bea1f38287dab22d38028'/>
<id>urn:sha1:c3310327552163e2d19bea1f38287dab22d38028</id>
<content type='text'>
</content>
</entry>
<entry>
<title>degrade gracefully with empty spans</title>
<updated>2016-05-03T10:15:39+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-05-03T10:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f030b5dbc29b20b964f2cc448d893998080b1a46'/>
<id>urn:sha1:f030b5dbc29b20b964f2cc448d893998080b1a46</id>
<content type='text'>
</content>
</entry>
</feed>
