| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -597/+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/+14 | |
| 2016-05-12 | Better handling of tab in error | Seo Sanghyeon | -0/+24 | |
| 2016-05-03 | degrade gracefully with empty spans | Niko Matsakis | -0/+38 | |
| 2016-05-02 | update unit tests | Niko Matsakis | -11/+11 | |
| 2016-05-02 | fix snippet tests MORE! | Niko Matsakis | -1/+1 | |
| 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 | -8/+3 | |
| as a result, simplify elision code | ||||
| 2016-05-02 | Nit: address various style nits | Niko Matsakis | -1/+3 | |
| 2016-05-02 | revamp MultiSpan and introduce new snippet code | Niko Matsakis | -0/+524 | |
| 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. | ||||
