about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/emitter.rs
AgeCommit message (Expand)AuthorLines
2022-09-13Don't render inline suggestions of only spacesMichael Goulet-4/+1
2022-09-12Don't trim substitution if it's only whitespaceMichael Goulet-9/+19
2022-09-12A SubstitutionPart is not a deletion if it replaces nothing with nothingMichael Goulet-1/+1
2022-09-10rustc_error, rustc_private, rustc_ast: Switch to stable hash containersNiklas Jonsson-2/+2
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-15errors: move translation logic into moduleDavid Wood-110/+18
2022-08-10errors: don't fail on broken primary translationsDavid Wood-31/+49
2022-07-19Mention first and last macro in backtraceMichael Goulet-6/+18
2022-07-06session: `output-width` -> `diagnostic-width`David Wood-8/+8
2022-07-06session: `terminal-width` -> `output-width`David Wood-8/+8
2022-06-28Migrate some rustc_borrowck diagnostics to SessionDiagnosticMichael Goulet-2/+12
2022-06-20remove MAX_SUGGESTION_HIGHLIGHT_LINESMaybe Waffle-5/+0
2022-06-17Auto merge of #97892 - klensy:fix-spaces, r=oli-obkbors-4/+8
2022-06-16Add back MAX_SUGGESTION_HIGHLIGHT_LINES so clippy is happy & buildableMaybe Waffle-0/+5
2022-06-16Try to clean up code...Maybe Waffle-93/+150
2022-06-16Improve suggestions when its parts are far from each otherMaybe Waffle-68/+99
2022-06-16drive by fix needless allocation of const string numberklensy-2/+6
2022-06-16 fix one more case of trailing spaceklensy-1/+1
2022-06-16diagnostics: fix trailing spaceklensy-1/+1
2022-06-01Mention filename in suggestion when it differs from primary spanEsteban Küber-4/+33
2022-05-29Ensure source file present when calculating max line numberYuki Okushi-2/+9
2022-04-27Plumb through rustc_lint_defs::Level as enum rather than string.Jeremy Fitzhardinge-1/+6
2022-04-13errors: lazily load fallback fluent bundleDavid Wood-9/+10
2022-04-05macros: translatable struct attrs and warningsDavid Wood-2/+8
2022-04-05errors: implement sysroot/testing bundle loadingDavid Wood-1/+8
2022-04-05errors: implement fallback diagnostic translationDavid Wood-21/+135
2022-04-05span: move `MultiSpan`David Wood-5/+5
2022-04-05errors: introduce `DiagnosticMessage`David Wood-9/+11
2022-03-20Take &mut Diagnostic in emit_diagnostic.Camille GILLOT-1/+1
2022-03-09Account for suggestions for complete removal of linesEsteban Kuber-0/+25
2022-02-27Only create a single expansion for each inline integration.Camille GILLOT-2/+2
2022-02-19Adopt let else in more placesest31-6/+4
2022-01-24rustc_errors: remove `allow_suggestions` from `DiagnosticBuilder`.Eduard-Mihai Burtescu-3/+4
2021-11-30Rollup merge of #91358 - kd-collective:fix_typo, r=cjgillotYuki Okushi-1/+1
2021-11-30Fix small typokijima-1/+1
2021-11-27Refactor EmitterWriter::emit_suggestion_defaultLucas Kent-14/+25
2021-11-23`replace_tabs` -> `normalize_whitespace`Esteban Kuber-6/+6
2021-11-23Replace ZWJ with nothing in terminal outputEsteban Kuber-0/+1
2021-11-20Align multiline messages to their label (add left margin)Esteban Kuber-1/+16
2021-10-31Lint against RTL unicode codepoints in literals and commentsEsteban Küber-1/+19
2021-10-23Rollup merge of #89468 - FabianWolff:issue-89358, r=jackh726Matthias Krüger-4/+17
2021-10-16Adopt let_else across the compilerest31-5/+1
2021-10-07use structured fields in some existing warningsEliza Weisman-1/+1
2021-10-02Report fatal lexer errors in `--cfg` command line argumentsFabian Wolff-4/+17
2021-08-27Path remapping: Make behavior of diagnostics output dependent on presence of ...Michael Woerister-4/+4
2021-08-23Fixes to span locationsEsteban Kuber-9/+8
2021-08-23wipEsteban Kuber-19/+11
2021-08-23Account for tabs when highlighting multiline code suggestionsEsteban Kuber-19/+29
2021-08-11Modify structured suggestion outputEsteban Küber-18/+102
2021-08-04Remove trailing whitespace from error messagesFabian Wolff-2/+5