| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -1485/+0 | |
| 2016-06-16 | Add an abs_path member to FileMap, use it when writing debug info. | Ted Mielczarek | -14/+14 | |
| 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. | ||||
| 2016-05-24 | Back to single line between errors. Add header space to secondary files | Jonathan Turner | -0/+21 | |
| 2016-05-23 | Update error format for readability. Add spacing header<->snippet and ↵ | Jonathan Turner | -0/+7 | |
| another line between errors | ||||
| 2016-05-17 | De-emph minimized spans, add better debugging output | Jonathan Turner | -10/+23 | |
| 2016-05-17 | Print secondary labels as notes in old skool mode | Jonathan Turner | -0/+23 | |
| 2016-05-15 | Auto merge of #33619 - jonathandturner:improve_structured_errors, r=nikomatsakis | bors | -0/+1 | |
| 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 &mut instead, which makes it work the same as other methods in that set | ||||
| 2016-05-12 | Set of fixes to improve borrowcks that weren't updated | Jonathan Turner | -0/+1 | |
| 2016-05-12 | Better handling of tab in error | Seo Sanghyeon | -2/+32 | |
| 2016-05-03 | degrade gracefully with empty spans | Niko Matsakis | -1/+49 | |
| 2016-05-02 | assert we get at least two rendered lines back | Niko Matsakis | -2/+5 | |
| 2016-05-02 | do not fail if len(rendered_lines) is == 1 | Niko Matsakis | -10/+14 | |
| also handle more rendered-lines | ||||
| 2016-05-02 | update unit tests | Niko Matsakis | -23/+16 | |
| 2016-05-02 | Add back in a 'old school' error format | Jonathan Turner | -31/+104 | |
| 2016-05-02 | fix snippet tests MORE! | Niko Matsakis | -1/+1 | |
| 2016-05-02 | Nit: use Range::contains | Niko Matsakis | -7/+2 | |
| 2016-05-02 | fix tests better | Niko Matsakis | -3/+3 | |
| 2016-05-02 | only emit `^` at the start of a multi-line error | Niko Matsakis | -133/+62 | |
| as a result, simplify elision code | ||||
| 2016-05-02 | Nit: use last_mut better | Niko Matsakis | -4/+3 | |
| 2016-05-02 | Nit: address various style nits | Niko Matsakis | -4/+4 | |
| 2016-05-02 | Nit: do not use RLK | Niko Matsakis | -12/+14 | |
| 2016-05-02 | Nit: do not import variants from Style | Niko Matsakis | -24/+23 | |
| 2016-05-02 | Do not import variants from RenderedLineKind | Niko Matsakis | -12/+12 | |
| 2016-05-02 | revamp MultiSpan and introduce new snippet code | Niko Matsakis | -0/+1345 | |
| MultiSpan model is now: - set of primary spans - set of span+label pairs Primary spans render with `^^^`, secondary spans with `---`. Labels are placed next to the `^^^` or `---` marker as appropriate. | ||||
