summary refs log tree commit diff
path: root/src/librustc_errors
AgeCommit message (Expand)AuthorLines
2020-03-04Use single-char patter on {ends,starts}_with and remove clone on copy type.Matthias Krüger-1/+1
2020-03-04Don't use "if let" bindings to only check a value and not actually bind anyth...Matthias Krüger-1/+1
2020-03-03Rollup merge of #69628 - nnethercote:fix-DiagnosticBuilder-into_diagnostic-le...Yuki Okushi-6/+5
2020-03-03Rollup merge of #69619 - matthiaskrgr:misc, r=eddybYuki Okushi-3/+2
2020-03-02Rollup merge of #69623 - Centril:fix-69396-tmp, r=petrochenkovDylan DPC-14/+4
2020-03-02Fix a leak in `DiagnosticBuilder::into_diagnostic`.Nicholas Nethercote-6/+5
2020-03-02stash API: remove panic to fix ICE.Mazdak Farrokhzad-14/+4
2020-03-01use for (idx, item) in iter.enumerate() instead of manually counting loop i...Matthias Krüger-3/+2
2020-02-29added `try_find_description` to distinguish no desc from invalid codeJake Vossen-9/+29
2020-02-29Auto merge of #69570 - Dylan-DPC:rollup-d6boczt, r=Dylan-DPCbors-5/+5
2020-02-29Auto merge of #69227 - Marwes:buffer_stderr, r=varkorbors-3/+5
2020-02-29Rollup merge of #69567 - matthiaskrgr:useless_fmt, r=nagisaDylan DPC-3/+3
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-3/+3
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-2/+2
2020-02-22Rename CodeMap to SourceMap follow upMaxim Zholobak-20/+20
2020-02-17Ensure diagnostics are printed in the correct orderMarkus Westerlind-2/+4
2020-02-17perf: Buffer stderr when writing json errors/warningsMarkus Westerlind-1/+1
2020-02-11Auto merge of #69062 - Dylan-DPC:rollup-7wpjpqu, r=Dylan-DPCbors-2/+0
2020-02-11Rollup merge of #66498 - bjorn3:less_feature_flags, r=Dylan-DPCDylan DPC-2/+0
2020-02-11Run RustFmtjumbatm-1/+5
2020-02-11Invert control in struct_lint_level.jumbatm-1/+3
2020-02-09Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasperbors-1/+15
2020-02-06rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.Eduard-Mihai Burtescu-18/+35
2020-02-06rustc_errors: hide "in this macro invocation" when redundant, more explicitly.Eduard-Mihai Burtescu-28/+37
2020-02-06rustc_errors: deduplicate the -Zmacro-backtrace suggestion message.Eduard-Mihai Burtescu-12/+5
2020-02-06rustc: rename -Zexternal-macro-backtrace to -Zmacro-backtrace.Eduard-Mihai Burtescu-40/+26
2020-02-06rustc_errors: split macro backtrace rendering from <*macros> hacks.Eduard-Mihai Burtescu-59/+97
2020-02-04Remove unused feature gates from librustc_errorsbjorn3-2/+0
2020-02-02introduce `#![feature(move_ref_pattern)]`Mazdak Farrokhzad-1/+15
2020-01-30Rollup merge of #68626 - Zoxc:termize, r=estebankDylan DPC-2/+2
2020-01-29Use termize instead of term_sizeJohn Kåre Alsaker-2/+2
2020-01-28Correct ICE caused by macros generating invalid spans.Michael Burge-1/+8
2020-01-27don't clone types that are copy, round two.Matthias Krüger-6/+6
2020-01-26rustc_span: return an impl Iterator instead of a Vec from macro_backtrace.Eduard-Mihai Burtescu-6/+6
2020-01-26rustc_span: replace MacroBacktrace with ExpnData.Eduard-Mihai Burtescu-10/+11
2020-01-26Auto merge of #68522 - estebank:impl-trait-sugg-2, r=oli-obkbors-3/+8
2020-01-25Revert suggestion window size changeEsteban Küber-1/+1
2020-01-24Do not ICE on multipart suggestions touching multiple filesEsteban Küber-5/+6
2020-01-24review commentsEsteban Küber-1/+1
2020-01-24Increase suggestion code window from 6 lines to 20Esteban Küber-3/+8
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-4/+1
2020-01-17Rollup merge of #68256 - estebank:bad-sugg-span, r=petrochenkovTyler Mandry-4/+22
2020-01-16review commentsEsteban Küber-16/+14
2020-01-16Do not ICE on malformed suggestion spansEsteban Küber-1/+21
2020-01-16don't clone types that are copyMatthias Krüger-1/+1
2020-01-11use winapi for non-stdlib Windows bindingsAndy Russell-22/+8
2020-01-10Fix invalid bounding boxEsteban Küber-1/+1
2020-01-08Remove `-Z continue-parse-after-error`Vadim Petrochenkov-20/+0
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-0/+19
2020-01-05Handle multiple error fix suggestions carefulyLaurent Bonnans-5/+13