about summary refs log tree commit diff
path: root/src/libsyntax/errors/snippet
AgeCommit message (Collapse)AuthorLines
2016-05-24Back to single line between errors. Add header space to secondary filesJonathan Turner-0/+21
2016-05-23Update error format for readability. Add spacing header<->snippet and ↵Jonathan Turner-0/+7
another line between errors
2016-05-17De-emph minimized spans, add better debugging outputJonathan Turner-10/+23
2016-05-17Print secondary labels as notes in old skool modeJonathan Turner-0/+23
2016-05-15Auto merge of #33619 - jonathandturner:improve_structured_errors, r=nikomatsakisbors-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-12Set of fixes to improve borrowcks that weren't updatedJonathan Turner-0/+1
2016-05-12Better handling of tab in errorSeo Sanghyeon-2/+32
2016-05-03degrade gracefully with empty spansNiko Matsakis-1/+49
2016-05-02assert we get at least two rendered lines backNiko Matsakis-2/+5
2016-05-02do not fail if len(rendered_lines) is == 1Niko Matsakis-10/+14
also handle more rendered-lines
2016-05-02update unit testsNiko Matsakis-23/+16
2016-05-02Add back in a 'old school' error formatJonathan Turner-31/+104
2016-05-02fix snippet tests MORE!Niko Matsakis-1/+1
2016-05-02Nit: use Range::containsNiko Matsakis-7/+2
2016-05-02fix tests betterNiko Matsakis-3/+3
2016-05-02only emit `^` at the start of a multi-line errorNiko Matsakis-133/+62
as a result, simplify elision code
2016-05-02Nit: use last_mut betterNiko Matsakis-4/+3
2016-05-02Nit: address various style nitsNiko Matsakis-4/+4
2016-05-02Nit: do not use RLKNiko Matsakis-12/+14
2016-05-02Nit: do not import variants from StyleNiko Matsakis-24/+23
2016-05-02Do not import variants from RenderedLineKindNiko Matsakis-12/+12
2016-05-02revamp MultiSpan and introduce new snippet codeNiko 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.