summary refs log tree commit diff
path: root/src/librustc_errors/emitter.rs
AgeCommit message (Expand)AuthorLines
2020-01-23review commentsEsteban Küber-4/+5
2020-01-23Do not ICE on malformed suggestion spansEsteban Küber-1/+8
2020-01-23format librustc_errorsMark Rousskov-291/+312
2019-11-27Draw vertical lines in compiler error messages with multiline annotations cor...Christoph Schmidler-3/+3
2019-11-15Remove SourceMapper traitMark Rousskov-12/+13
2019-11-06Rollup merge of #66139 - euclio:pluralize, r=nagisaMazdak Farrokhzad-2/+2
2019-11-05use American spelling for `pluralize!`Andy Russell-2/+2
2019-11-03use silent emitter for rustdoc highlighting passAndy Russell-0/+8
2019-11-03Auto merge of #65827 - AnthonyMikh:out_of_the_loop, r=estebankbors-4/+3
2019-10-27Remove a loop which runs exactly onceAnthonyMikh-4/+3
2019-10-24review comment: deduplicate logicEsteban Küber-27/+13
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+13
2019-10-19Fix plural mistake in emitter.rsvarkor-2/+3
2019-10-15Refactor: Rename `db` locals to `diag`Philipp Hansch-13/+13
2019-10-14Tweak heuristics for less noiseEsteban Küber-3/+3
2019-10-14Use heuristics for capitalization warning in suggestionsEsteban Küber-6/+21
2019-10-13Bring attention to suggestions when the only difference is capitalizationEsteban Küber-4/+28
2019-10-05Rollup merge of #64909 - estebank:turbofish-reloaded, r=CentrilTyler Mandry-4/+8
2019-10-03review commentsEsteban Küber-6/+8
2019-10-03review commentsEsteban Küber-1/+3
2019-10-02Compare primary with value instead of dropping itAnthonyMikh-1/+2
2019-10-01Fix borrowck errorsAnthonyMikh-2/+2
2019-10-01Hint type for `.sum()`AnthonyMikh-1/+1
2019-10-01Ascript type explicitlyAnthonyMikh-1/+1
2019-10-01Fix errorsAnthonyMikh-10/+10
2019-10-01(fmt) remove trailing whitespacesAnthonyMikh-2/+2
2019-10-01Use pattern matching instead of indexing tuplesAnthonyMikh-4/+2
2019-10-01Simplify a conditional in `collect_annotations`AnthonyMikh-16/+11
2019-10-01Remove redundant `.iter_mut()`AnthonyMikh-1/+1
2019-10-01Simplify `EmitterWriter::emit_suggestion_default`AnthonyMikh-104/+107
2019-09-30Update doc comment for `style_or_override`AnthonyMikh-1/+1
2019-09-30Simplify `EmitterWriter::get_max_line_num`AnthonyMikh-8/+4
2019-09-30Simplify `EmitterWriter::get_multispan_max_line_num`AnthonyMikh-16/+16
2019-09-30Simplify code for special case of annotationAnthonyMikh-12/+10
2019-09-27Revert "Simplify Unicode-aware trimming"AnthonyMikh-15/+12
2019-09-26Simplify `style_or_override`AnthonyMikh-6/+4
2019-09-26Use `sort_by_key` rather than `sort_by`AnthonyMikh-2/+2
2019-09-26Simplify `Emitter::fix_multispan_in_std_macros`AnthonyMikh-64/+65
2019-09-25Unify order of variables in chained comparisonAnthonyMikh-1/+1
2019-09-25Use Option::map_or where applicableAnthonyMikh-8/+3
2019-09-25Use map + sum instead of fold for computing Unicode widthAnthonyMikh-9/+9
2019-09-25Simplify Unicode-aware trimmingAnthonyMikh-12/+15
2019-09-25Use `max` instead of `if`sAnthonyMikh-9/+3
2019-09-25Use `saturating_sub` where applicableAnthonyMikh-18/+6
2019-09-23changed a line from an if else to std::cmp::maxhman523-1/+1
2019-09-23Fixed issue from #64447hman523-3/+2
2019-09-23Auto merge of #64272 - Mark-Simulacrum:parallel-handler, r=estebankbors-6/+14
2019-09-17Rollup merge of #64429 - afnanenayet:afnan/fix-failure-note-json-level, r=Mar...Tyler Mandry-6/+9
2019-09-17Replace DiagnosticBuilder with Diagnostic when emitting errorMark Rousskov-6/+14
2019-09-16Fix failure note `to_str` implementationAfnan Enayet-6/+9