| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | -10/+23 | |
| 2019-10-13 | Bring attention to suggestions when the only difference is capitalization | Esteban Küber | -15/+53 | |
| 2019-10-08 | Rollup merge of #65120 - AnthonyMikh:fix_65119, r=estebank | Mazdak Farrokhzad | -1/+1 | |
| Correctly estimate the required space for string in `StyledBuffer::prepend` Fix #65119 r? @estebank | ||||
| 2019-10-05 | Rollup merge of #64909 - estebank:turbofish-reloaded, r=Centril | Tyler Mandry | -41/+78 | |
| When encountering chained operators use heuristics to recover from bad turbofish | ||||
| 2019-10-05 | Correctly estimate required space for string | AnthonyMikh | -1/+1 | |
| `.len()` returns length in bytes so it overestimates the required space | ||||
| 2019-10-03 | review comments | Esteban Küber | -47/+51 | |
| 2019-10-03 | review comments | Esteban Küber | -7/+40 | |
| 2019-10-02 | Compare primary with value instead of dropping it | AnthonyMikh | -1/+2 | |
| 2019-10-02 | Fully clear `HandlerInner` in `Handler::reset_err_count` | AnthonyMikh | -5/+8 | |
| 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-24 | Rollup merge of #64721 - hman523:issue64447, r=estebank | Mazdak Farrokhzad | -3/+2 | |
| Fixed issue from #64447 Did two tiny fixes. One is a micro optimization since we know that max is going to be assigned a `usize`, we do not have to worry about a possible negative number. The other issue that was fixed is that the max from the children isn't updated correctly. Now it will use `sub_result` instead of `primary` and will properly get the needed value. | ||||
| 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 | cleanup librustc_errors Handler code. | Mazdak Farrokhzad | -135/+166 | |
| 2019-09-23 | stash_diagnostic: ICE in a different way | Mazdak Farrokhzad | -9/+18 | |
| 2019-09-23 | Introduce a diagnostic stashing API. | Mazdak Farrokhzad | -25/+100 | |
| 2019-09-23 | Auto merge of #64272 - Mark-Simulacrum:parallel-handler, r=estebank | bors | -185/+251 | |
| 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 | -7/+10 | |
| 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 | Protect error handler fields with single lock | Mark Rousskov | -132/+204 | |
| This avoids concurrency-related bugs when locks are acquired for too short a time and similar cases. | ||||
| 2019-09-17 | Remove unused methods from Handler | Mark Rousskov | -6/+0 | |
| 2019-09-17 | Remove Handler::{emit, emit_with_code} | Mark Rousskov | -31/+28 | |
| 2019-09-17 | Remove Handler::cancel | Mark Rousskov | -4/+0 | |
| 2019-09-17 | Privatize DiagnosticBuilder constructors | Mark Rousskov | -5/+5 | |
| 2019-09-17 | Take Diagnostic in Handler::emit_diagnostic | Mark Rousskov | -15/+9 | |
| 2019-09-17 | Replace DiagnosticBuilder with Diagnostic when emitting error | Mark Rousskov | -11/+24 | |
| 2019-09-16 | Fix failure note `to_str` implementation | Afnan Enayet | -7/+10 | |
| * Serialize the level to something a little more useful for a failure note struct * Update tests accordingly | ||||
| 2019-09-14 | Rollup merge of #64374 - nnethercote:box-DiagnosticBuilder, r=zackmdavis | Mazdak Farrokhzad | -37/+48 | |
| Box `DiagnosticBuilder`. It's a large type -- 176 bytes on 64-bit. And it's passed around and returned from a lot of functions, including within `PResult`. This commit boxes it, which reduces memory traffic. In particular, `PResult` shrinks to 16 bytes in the best case; this reduces instruction counts by up to 2% on various workloads. The commit touches a lot of lines but it's almost all trivial plumbing changes. | ||||
