about summary refs log tree commit diff
path: root/compiler/rustc_errors
AgeCommit message (Expand)AuthorLines
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-27Make fatal DiagnosticBuilder yield neverMichael Goulet-4/+44
2022-03-20Filter OnceNote in diagnostic infra.Camille GILLOT-5/+49
2022-03-20Take &mut Diagnostic in emit_diagnostic.Camille GILLOT-20/+20
2022-03-16rustc_error: make ErrorReported impossible to constructmark-37/+64
2022-03-14Rollup merge of #94670 - xFrednet:rfc-2383-expect-impl-after-party, r=flip199...Matthias Krüger-13/+42
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
2022-03-09Account for suggestions for complete removal of linesEsteban Kuber-0/+25
2022-03-07Handle `#[expect(unfulfilled_lint_expectations)]` with a lint messagexFrednet-0/+1
2022-03-07diagnostics: only talk about `Cargo.toml` if running under CargoMichael Howell-0/+14
2022-03-07Update unstable `ExpectationId`s in stored diagnosticsxFrednet-13/+41
2022-03-03Auto merge of #87835 - xFrednet:rfc-2383-expect-attribute-with-ids, r=wesleyw...bors-4/+92
2022-03-02Address review commentsxFrednet-2/+6
2022-03-02Added `panics` for unreachable states for expectations (RFC 2383)xFrednet-12/+16
2022-03-02Expect each lint in attribute individually (RFC-2383)xFrednet-5/+11
2022-03-02Make `LintExpectationId` stable between compilation sessions (RFC-2383)xFrednet-2/+48
2022-03-02Set `LintExpectationId` in level and collect fulfilled ones (RFC-2383)xFrednet-6/+19
2022-03-02Added `Expect` lint level and attribute (RFC-2383)xFrednet-3/+18
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-19/+19
2022-02-28Auto merge of #94427 - cjgillot:inline-fresh-expn, r=oli-obkbors-2/+2
2022-02-27Only create a single expansion for each inline integration.Camille GILLOT-2/+2
2022-02-25Switch bootstrap cfgsMark Rousskov-1/+1
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-206/+409
2022-02-24Avoid emitting full macro body into JSONMark Rousskov-2/+8
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-85/+205
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-55/+99
2022-02-23rustc_errors: remove `struct_dummy`.Eduard-Mihai Burtescu-8/+0
2022-02-23rustc_errors: handle `force_warn` only through `DiagnosticId::Lint`.Eduard-Mihai Burtescu-28/+6
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-45/+36
2022-02-23rustc_errors: add `downgrade_to_delayed_bug` to `Diagnostic` itself.Eduard-Mihai Burtescu-30/+108
2022-02-20Remove support for JSON deserialization to RustMark Rousskov-12/+15
2022-02-19Adopt let else in more placesest31-6/+4
2022-02-01add a rustc::query_stability lintlcnr-0/+1
2022-01-24rustc_errors: add a new assert for the size of `PResult<()>`.Eduard-Mihai Burtescu-0/+2
2022-01-24rustc_errors: only box the `diagnostic` field in `DiagnosticBuilder`.Eduard-Mihai Burtescu-30/+24
2022-01-24rustc_errors: remove `allow_suggestions` from `DiagnosticBuilder`.Eduard-Mihai Burtescu-126/+59
2022-01-23Rollup merge of #93229 - mark-i-m:noquiet, r=eddybMatthias Krüger-16/+1
2022-01-23Remove DiagnosticBuilder.quietmark-16/+1
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-3/+3
2022-01-11Auto merge of #92070 - rukai:replace_vec_into_iter_with_array_into_iter, r=Ma...bors-1/+1
2022-01-09Compute most of Public/Exported access level in rustc_resolveLamb-3/+0
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-1/+1
2021-12-14Stabilize iter::zip.PFPoitras-1/+0
2021-12-02Rollup merge of #91394 - Mark-Simulacrum:bump-stage0, r=pietroalbiniMatthias Krüger-1/+0
2021-12-01Include lint errors in error count for `-Ztreat-err-as-bug`Joshua Nelson-2/+7
2021-11-30Apply cfg-bootstrap switchMark Rousskov-1/+0
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