<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/errors, 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>Rollup merge of #33730 - jseyfried:fix_macro_backtrace_diagnostics, r=nikomatsakis</title>
<updated>2016-05-19T15:51:08+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2016-05-19T15:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=acd2c11c5e8427c38471dd9d6aee8a347a612f27'/>
<id>urn:sha1:acd2c11c5e8427c38471dd9d6aee8a347a612f27</id>
<content type='text'>
Fix macro expansion backtrace diagnostics

Fixes #33704.
r? @nikomatsakis
</content>
</entry>
<entry>
<title>Auto merge of #33688 - jonathandturner:fix_old_school, r=nikomatsakis</title>
<updated>2016-05-19T04:19:07+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2016-05-19T04:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0c5d651d0bb9e0471795bd743c8ecfd8f9a89844'/>
<id>urn:sha1:0c5d651d0bb9e0471795bd743c8ecfd8f9a89844</id>
<content type='text'>
Fix for old school error issues, improvements to new school

This PR:
* Fixes some old school error issues, specifically #33559, #33543, #33366
* Improves wording borrowck errors with match patterns
* De-emphasize multi-line spans, so we don't color the single source character when we're trying to say "span starts here"
* Rollup of #33392 (which should help fix #33390)

r? @nikomatsakis
</content>
</entry>
<entry>
<title>Fix macro expansion backtrace diagnostics</title>
<updated>2016-05-19T00:24:43+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-05-19T00:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8e9c150278c5f70c4e9c337f53cb66d077e1bc3'/>
<id>urn:sha1:f8e9c150278c5f70c4e9c337f53cb66d077e1bc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix -Z treat-err-as-bug</title>
<updated>2016-05-17T20:27:23+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-04-21T09:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97ca8d799c2b6e6a4ce1b55b7d6e28526d3f23d5'/>
<id>urn:sha1:97ca8d799c2b6e6a4ce1b55b7d6e28526d3f23d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix for #33559</title>
<updated>2016-05-17T15:27:58+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-17T15:27:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c1c1ad5ec54526e950623ba1c635f0f7672d875a'/>
<id>urn:sha1:c1c1ad5ec54526e950623ba1c635f0f7672d875a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve a few errors and fix #33366</title>
<updated>2016-05-17T10:46:08+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-05-16T22:40:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=175ecfefd50932c0ae8fa328579e26baadd6a110'/>
<id>urn:sha1:175ecfefd50932c0ae8fa328579e26baadd6a110</id>
<content type='text'>
</content>
</entry>
</feed>
