summary refs log tree commit diff
path: root/src/librustc_errors/emitter.rs
AgeCommit message (Expand)AuthorLines
2018-08-28Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.Eduard-Mihai Burtescu-3/+3
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ...Matthias Krüger-3/+3
2018-08-19mv filemap source_fileDonato Sciarra-1/+1
2018-08-19mv FileMap SourceFileDonato Sciarra-4/+4
2018-08-19mv CodeMap SourceMapDonato Sciarra-4/+4
2018-08-07Avoid unnecessary pattern matching against Option and Resultljedrz-1/+1
2018-07-29Auto merge of #52764 - sinkuu:cleanup, r=nikomatsakisbors-6/+2
2018-07-27Use slices where a vector is not necessaryljedrz-5/+5
2018-07-27Remove unnecessary `.collect()`Shotaro Yamada-3/+1
2018-07-27Use str::repeatShotaro Yamada-3/+1
2018-07-25Improve readability in a few sortsljedrz-5/+3
2018-07-21Auto merge of #51485 - estebank:dehighlight-secondary-msgs, r=GuillaumeGomezbors-4/+10
2018-07-14Deny bare trait objects in src/librustc_errorsljedrz-3/+3
2018-06-30Fortify dummy span checkingVadim Petrochenkov-8/+8
2018-06-11Remove highlighting from secondary messagesEsteban Küber-4/+10
2018-06-03Also prevent overflow in debug buildsOliver Schneider-1/+1
2018-05-31Make short-error format GNU compatibleGuillaume Gomez-1/+1
2018-05-24Account for negative offsets in suggestionsEsteban Küber-15/+20
2018-05-24Underline multiple suggested replacements in the same lineEsteban Küber-18/+47
2018-04-07Update based on RangeBounds trait being moved to libcore.Steven Malis-2/+2
2018-03-15Require the code mapper to be thread-safeJohn Kåre Alsaker-7/+5
2018-03-14test for putting back check on jsonGuillaume Gomez-54/+35
2018-03-07rustc: Migrate to `termcolor` crate from `term`Alex Crichton-151/+106
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-7/+7
2018-02-26Fix rebaseVadim Petrochenkov-2/+3
2018-02-26Anonymize remaining line numbers at line startsVadim Petrochenkov-9/+12
2018-02-26Support flag `-Z ui-testing` for tweaking diagnostic output for UI testsVadim Petrochenkov-3/+21
2018-02-25Reduce error codes length when too much are thrownGuillaume Gomez-2/+5
2018-02-25Add rustc --explain backGuillaume Gomez-7/+43
2018-01-31Auto merge of #47900 - kennytm:rollup, r=kennytmbors-0/+4
2018-02-01Rollup merge of #47677 - etaoins:avoid-underflow-in-rennder-source-line, r=es...kennytm-0/+4
2018-01-31Auto merge of #45752 - estebank:highlight-primary, r=nikomatsakisbors-6/+19
2018-01-30Rollup merge of #47780 - varkor:cross-file-errors-line-col, r=estebankkennytm-1/+14
2018-01-29Toggle span highlighting on `-Zteach`Esteban Küber-7/+14
2018-01-28Highlight code on diagnostics when underlinedEsteban Küber-1/+7
2018-01-27Improve formatting of else blockvarkor-1/+3
2018-01-26Don't add "in this macro invocation" label to desugared spansEsteban Küber-0/+1
2018-01-26Add line numbers and columns to error messages spanning multiple filesvarkor-1/+12
2018-01-23Avoid underflow in render_source_lineRyan Cumming-0/+4
2018-01-18Rollup merge of #47407 - gaurikholkar:master, r=estebankkennytm-2/+2
2018-01-13add ui testGauri-1/+1
2018-01-13fix mispositioned spanGauri-1/+1
2018-01-10Use correct line offsets for doctests (fixes #45868)Manish Goregaokar-2/+2
2017-12-14When attempting to write str with single quote suggest double quotesEsteban Küber-1/+5
2017-12-14Use PathBuf instead of String where applicableOliver Schneider-5/+11
2017-12-14Auto merge of #46605 - estebank:macro-backtrace-spans, r=pnkfelixbors-53/+49
2017-12-09Resolve type on return type suggestionEsteban Küber-1/+1
2017-12-09Use spans for -Z external-macro-backtraceEsteban Küber-53/+49
2017-12-01Auto merge of #45997 - estebank:pub-ident, r=nikomatsakisbors-1/+1
2017-11-26mention nightly in -Z external-macro-backtrace noteAlex Burka-1/+2