| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-05-07 | rustc: rename -Z emit-directives to -Z emit-artifact-notifications and ↵ | Eduard-Mihai Burtescu | -3/+5 | |
| simplify the output. | ||||
| 2019-04-30 | In JSON output, emit a directive after metadata is generated. | Nicholas Nethercote | -2/+6 | |
| To implement pipelining, Cargo needs to know when metadata generation is finished. This commit adds code to do that. Unfortunately, metadata file writing currently occurs very late during compilation, so pipelining won't produce a speed-up. Moving metadata file writing earlier will be a follow-up. The change involves splitting the existing `Emitter::emit` method in two: `Emitter::emit_diagnostic` and `Emitter::emit_directive`. The JSON directives look like this: ``` {"directive":"metadata file written: liba.rmeta"} ``` The functionality is behind the `-Z emit-directives` option, and also requires `--error-format=json`. | ||||
| 2019-04-22 | Fix #58270, fix off-by-one error in error diagnostics. | Xavier Denis | -0/+10 | |
| 2019-04-09 | Do not render ascii colors to buffers | Oliver Scherer | -1/+1 | |
| 2019-04-02 | Rename `colorful-json` to `json-rendered` and make it a selection instead of ↵ | Oliver Scherer | -2/+37 | |
| a bool | ||||
| 2019-04-02 | Emit ansi color codes in the `rendered` field of json diagnostics | Oliver Scherer | -10/+18 | |
| 2019-03-31 | Rollup merge of #59574 - JohnTitor:distinguish-error-vs-warning, r=Centril | Mazdak Farrokhzad | -3/+14 | |
| Distinguish message for external macros depending on error level fixes #57716 (I picked you because assigned to this issue.) r? @estebank | ||||
| 2019-03-31 | Distinguish depending on error level | Yuki OKUSHI | -3/+14 | |
| Remove unnecessary comment | ||||
| 2019-03-28 | Add comemnts clarifying logic | Esteban Küber | -0/+5 | |
| 2019-03-28 | review comments | Esteban Küber | -3/+3 | |
| 2019-03-27 | Account for fully overlapping multiline annotations | Esteban Küber | -13/+40 | |
| When two multiline span labels point at the same span, we special case the output to avoid weird behavior: ``` foo( _____^ |_____| || bar, || ); || ^ ||______| |______foo baz ``` instead showing ``` foo( _____^ | bar, | ); | ^ | | |______foo baz ``` | ||||
| 2019-02-14 | Rollup merge of #58296 - estebank:hidden-suggestion, r=oli-obk | Mazdak Farrokhzad | -32/+64 | |
| Hidden suggestion support Add way to hide suggestion snippet window from cli output to avoid cluttered spans that don't enhance understanding. r? @pietroalbini CC @zackmdavis | ||||
| 2019-02-11 | Use hidden suggestions for unused imports lint | Esteban Küber | -1/+3 | |
| 2019-02-11 | Add way to completely hide suggestion from cli output | Esteban Küber | -1/+3 | |
| 2019-02-11 | Never inline HideCodeAlways suggestions | Esteban Küber | -1/+4 | |
| 2019-02-11 | Add way to hide suggestion snippet window from cli output | Esteban Küber | -31/+56 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -3/+3 | |
| 2019-02-09 | Auto merge of #57944 - estebank:unclosed-delim-the-quickening, r=oli-obk | bors | -2/+2 | |
| Deduplicate mismatched delimiter errors Delay unmatched delimiter errors until after the parser has run to deduplicate them when parsing and attempt recovering intelligently. Second attempt at #54029, follow up to #53949. Fix #31528. | ||||
| 2019-02-07 | Deduplicate mismatched delimiter errors | Esteban Küber | -2/+2 | |
| Delay unmatched delimiter errors until after the parser has run to deduplicate them when parsing and attempt recovering intelligently. | ||||
| 2019-02-07 | librustc_errors => 2018 | Taiki Endo | -9/+7 | |
| 2019-01-20 | Remove unnecessary dummy span checks | Esteban Küber | -1/+1 | |
| The emitter already verifies wether a given span note or span label can be emitted to the output. If it can't, because it is a dummy span, it will be either elided for labels or emitted as an unspanned note/help when applicable. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-12 | Bump to 1.33.0 | Alex Crichton | -1/+1 | |
| * Update bootstrap compiler * Update version to 1.33.0 * Remove some `#[cfg(stage0)]` annotations Actually updating the version number is blocked on updating Cargo | ||||
| 2018-12-07 | Rollup merge of #56516 - frewsxcv:frewsxcv-eq, r=Mark-Simulacrum | kennytm | -3/+3 | |
| Replace usages of `..i + 1` ranges with `..=i`. Before this change we were using old computer code techniques. After this change we use the new and improved computer code techniques. | ||||
| 2018-12-04 | adds DocTest filename variant, refactors doctest_offset out of source_map, ↵ | Matthew Russo | -3/+4 | |
| fixes remaining test failures | ||||
| 2018-12-04 | Replace usages of `..i + 1` ranges with `..=i`. | Corey Farwell | -3/+3 | |
| 2018-11-08 | rustc: Request ansi colors if stderr isn't a tty | Alex Crichton | -1/+7 | |
| Currently Cargo will always capture the output of rustc meaning that rustc is never hooked up to a tty. To retain colors Cargo uses the `fwdansi` crate to ensure that ansi color codes are translated to windows terminal methods (and ansi codes otherwise just go their natural route on Unix). Cargo passes `--color always` to rustc to ensure that using a pipe doesn't trick it into not emitting colors at all. It turns out, however, that `--color always` ends up still accidentally using the native shell api on native windows shells. The fix here is to instead pass `AlwaysAnsi` to `termcolor` instead of `Always`, ensuring that when `--color always` is passed to rustc and its output isn't a terminal, we're always generating ansi colors regardless of the platform. Closes #55769 | ||||
| 2018-10-29 | Rename other occs of (Code/File)Map to Source(Map/File) #51574 | David Lavati | -28/+28 | |
| 2018-08-28 | Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc. | Eduard-Mihai Burtescu | -3/+3 | |
| 2018-08-23 | use String::new() instead of String::from(""), "".to_string(), "".to_owned() ↵ | Matthias Krüger | -3/+3 | |
| or "".into() | ||||
| 2018-08-19 | mv filemap source_file | Donato Sciarra | -1/+1 | |
| 2018-08-19 | mv FileMap SourceFile | Donato Sciarra | -4/+4 | |
| 2018-08-19 | mv CodeMap SourceMap | Donato Sciarra | -4/+4 | |
| 2018-08-07 | Avoid unnecessary pattern matching against Option and Result | ljedrz | -1/+1 | |
| 2018-07-29 | Auto merge of #52764 - sinkuu:cleanup, r=nikomatsakis | bors | -6/+2 | |
| Misc cleanups | ||||
| 2018-07-27 | Use slices where a vector is not necessary | ljedrz | -5/+5 | |
| 2018-07-27 | Remove unnecessary `.collect()` | Shotaro Yamada | -3/+1 | |
| 2018-07-27 | Use str::repeat | Shotaro Yamada | -3/+1 | |
| 2018-07-25 | Improve readability in a few sorts | ljedrz | -5/+3 | |
| 2018-07-21 | Auto merge of #51485 - estebank:dehighlight-secondary-msgs, r=GuillaumeGomez | bors | -4/+10 | |
| Remove highlighting from secondary messages Deemphasize the secondary messages so that all other highlights stand out more. <img width="684" alt="" src="https://user-images.githubusercontent.com/1606434/41261199-7b4fe96e-6d8f-11e8-8619-04d170617df2.png"> | ||||
| 2018-07-14 | Deny bare trait objects in src/librustc_errors | ljedrz | -3/+3 | |
| Enforce `#![deny(bare_trait_objects)]` in `src/librustc_errors`. | ||||
| 2018-06-30 | Fortify dummy span checking | Vadim Petrochenkov | -8/+8 | |
| 2018-06-11 | Remove highlighting from secondary messages | Esteban Küber | -4/+10 | |
| Deemphasize the secondary messages so that all other highlights stand out more. | ||||
| 2018-06-03 | Also prevent overflow in debug builds | Oliver Schneider | -1/+1 | |
| 2018-05-31 | Make short-error format GNU compatible | Guillaume Gomez | -1/+1 | |
| 2018-05-24 | Account for negative offsets in suggestions | Esteban Küber | -15/+20 | |
| When suggesting code that has a shorter span than the current code, account for this by keeping the offset as a signed value. | ||||
| 2018-05-24 | Underline multiple suggested replacements in the same line | Esteban Küber | -18/+47 | |
| Follow up to #50943. Fix #50977. | ||||
| 2018-04-07 | Update based on RangeBounds trait being moved to libcore. | Steven Malis | -2/+2 | |
| 2018-03-15 | Require the code mapper to be thread-safe | John Kåre Alsaker | -7/+5 | |
| 2018-03-14 | test for putting back check on json | Guillaume Gomez | -54/+35 | |
