| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-22 | Correct ICE caused by macros generating invalid spans. | Michael Burge | -1/+8 | |
| 2020-01-23 | review comments | Esteban Küber | -4/+5 | |
| 2020-01-23 | Do not ICE on malformed suggestion spans | Esteban Küber | -1/+8 | |
| 2020-01-23 | format librustc_errors | Mark Rousskov | -291/+312 | |
| 2019-11-27 | Draw vertical lines in compiler error messages with multiline annotations ↵ | Christoph Schmidler | -3/+3 | |
| correctly when non-1space unicode characters are to the left For this we use the correct calculation of the 'left' identation | ||||
| 2019-11-15 | Remove SourceMapper trait | Mark Rousskov | -12/+13 | |
| SourceMap is now in the root of all rustc-specific crates, syntax_pos, so there's no need for the trait object to decouple the dependencies between librustc_errors and libsyntax as was needed previously. | ||||
| 2019-11-06 | Rollup merge of #66139 - euclio:pluralize, r=nagisa | Mazdak Farrokhzad | -2/+2 | |
| use American spelling for `pluralize!` | ||||
| 2019-11-05 | use American spelling for `pluralize!` | Andy Russell | -2/+2 | |
| 2019-11-03 | use silent emitter for rustdoc highlighting pass | Andy Russell | -0/+8 | |
| 2019-11-03 | Auto merge of #65827 - AnthonyMikh:out_of_the_loop, r=estebank | bors | -4/+3 | |
| Remove a loop which runs exactly once Though the code seems to work properly, it is worth removing the loop entirely in order to not confuse the reader. r? @estebank | ||||
| 2019-10-27 | Remove a loop which runs exactly once | AnthonyMikh | -4/+3 | |
| 2019-10-24 | review comment: deduplicate logic | Esteban Küber | -27/+13 | |
| 2019-10-24 | Increase spacing for suggestions in diagnostics | Esteban Küber | -0/+13 | |
| Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages. | ||||
| 2019-10-19 | Fix plural mistake in emitter.rs | varkor | -2/+3 | |
| 2019-10-15 | Refactor: Rename `db` locals to `diag` | Philipp Hansch | -13/+13 | |
| https://github.com/rust-lang/rust/pull/64272 replaced `DiagnosticBuilder` with `Diagnostic` in some places. This commit just renames the DB variable from `db` to `diag` where it wasn't renamed. | ||||
| 2019-10-14 | Tweak heuristics for less noise | Esteban Küber | -3/+3 | |
| 2019-10-14 | Use heuristics for capitalization warning in suggestions | Esteban Küber | -6/+21 | |
| 2019-10-13 | Bring attention to suggestions when the only difference is capitalization | Esteban Küber | -4/+28 | |
| 2019-10-05 | Rollup merge of #64909 - estebank:turbofish-reloaded, r=Centril | Tyler Mandry | -4/+8 | |
| When encountering chained operators use heuristics to recover from bad turbofish | ||||
| 2019-10-03 | review comments | Esteban Küber | -6/+8 | |
| 2019-10-03 | review comments | Esteban Küber | -1/+3 | |
| 2019-10-02 | Compare primary with value instead of dropping it | AnthonyMikh | -1/+2 | |
| 2019-10-01 | Fix borrowck errors | AnthonyMikh | -2/+2 | |
| Reborrowing doesn't work for loops | ||||
| 2019-10-01 | Hint type for `.sum()` | AnthonyMikh | -1/+1 | |
| 2019-10-01 | Ascript type explicitly | AnthonyMikh | -1/+1 | |
| 2019-10-01 | Fix errors | AnthonyMikh | -10/+10 | |
| 2019-10-01 | (fmt) remove trailing whitespaces | AnthonyMikh | -2/+2 | |
| 2019-10-01 | Use pattern matching instead of indexing tuples | AnthonyMikh | -4/+2 | |
| 2019-10-01 | Simplify a conditional in `collect_annotations` | AnthonyMikh | -16/+11 | |
| Also avoid excessive cloning | ||||
| 2019-10-01 | Remove redundant `.iter_mut()` | AnthonyMikh | -1/+1 | |
| 2019-10-01 | Simplify `EmitterWriter::emit_suggestion_default` | AnthonyMikh | -104/+107 | |
| Make function return early if source map is not present | ||||
| 2019-09-30 | Update doc comment for `style_or_override` | AnthonyMikh | -1/+1 | |
| 2019-09-30 | Simplify `EmitterWriter::get_max_line_num` | AnthonyMikh | -8/+4 | |
| 2019-09-30 | Simplify `EmitterWriter::get_multispan_max_line_num` | AnthonyMikh | -16/+16 | |
| 2019-09-30 | Simplify code for special case of annotation | AnthonyMikh | -12/+10 | |
| 2019-09-27 | Revert "Simplify Unicode-aware trimming" | AnthonyMikh | -15/+12 | |
| `taken` is actually used afterwards | ||||
| 2019-09-26 | Simplify `style_or_override` | AnthonyMikh | -6/+4 | |
| 2019-09-26 | Use `sort_by_key` rather than `sort_by` | AnthonyMikh | -2/+2 | |
| 2019-09-26 | Simplify `Emitter::fix_multispan_in_std_macros` | AnthonyMikh | -64/+65 | |
| 1. Rewrite `if let` into `match` to return earl and avoid indenting giant block 2. Assign `spans_updated` only once | ||||
| 2019-09-25 | Unify order of variables in chained comparison | AnthonyMikh | -1/+1 | |
| 2019-09-25 | Use Option::map_or where applicable | AnthonyMikh | -8/+3 | |
| 2019-09-25 | Use map + sum instead of fold for computing Unicode width | AnthonyMikh | -9/+9 | |
| 2019-09-25 | Simplify Unicode-aware trimming | AnthonyMikh | -12/+15 | |
| 2019-09-25 | Use `max` instead of `if`s | AnthonyMikh | -9/+3 | |
| 2019-09-25 | Use `saturating_sub` where applicable | AnthonyMikh | -18/+6 | |
| 2019-09-23 | changed a line from an if else to std::cmp::max | hman523 | -1/+1 | |
| 2019-09-23 | Fixed issue from #64447 | hman523 | -3/+2 | |
| 2019-09-23 | Auto merge of #64272 - Mark-Simulacrum:parallel-handler, r=estebank | bors | -6/+14 | |
| Refactor librustc_errors::Handler API This should be reviewed by-commit. The last commit moves all fields into an inner struct behind a single lock; this is done to prevent possible deadlocks in a multi-threaded compiler, as well as inconsistent state observation. | ||||
| 2019-09-17 | Rollup merge of #64429 - afnanenayet:afnan/fix-failure-note-json-level, ↵ | Tyler Mandry | -6/+9 | |
| r=Mark-Simulacrum Fix failure note `to_str` implementation Serialize the level to something a little more useful for a failure note struct. This fixes #60425. | ||||
| 2019-09-17 | Replace DiagnosticBuilder with Diagnostic when emitting error | Mark Rousskov | -6/+14 | |
