| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-02-22 | errors: generate typed identifiers in each crate | David Wood | -9/+10 | |
| Instead of loading the Fluent resources for every crate in `rustc_error_messages`, each crate generates typed identifiers for its own diagnostics and creates a static which are pulled together in the `rustc_driver` crate and provided to the diagnostic emitter. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2023-01-05 | Fix `uninlined_format_args` for some compiler crates | nils | -1/+1 | |
| Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem). | ||||
| 2022-11-27 | Prefer doc comments over `//`-comments in compiler | Maybe Waffle | -2/+2 | |
| 2022-10-23 | Migrate all diagnostics | Nilstrieb | -47/+43 | |
| 2022-09-21 | FIX - adopt new Diagnostic naming in newly migrated modules | Jhonny Bill Mena | -2/+1 | |
| FIX - ambiguous Diagnostic link in docs UPDATE - rename diagnostic_items to IntoDiagnostic and AddToDiagnostic [Gardening] FIX - formatting via `x fmt` FIX - rebase conflicts. NOTE: Confirm wheather or not we want to handle TargetDataLayoutErrorsWrapper this way DELETE - unneeded allow attributes in Handler method FIX - broken test FIX - Rebase conflict UPDATE - rename residual _SessionDiagnostic and fix LintDiag link | ||||
| 2022-09-21 | UPDATE - rename SessionSubdiagnostic macro to Subdiagnostic | Jhonny Bill Mena | -2/+2 | |
| Also renames: - sym::AddSubdiagnostic to sym:: Subdiagnostic - rustc_diagnostic_item = "AddSubdiagnostic" to rustc_diagnostic_item = "Subdiagnostic" | ||||
| 2022-09-21 | UPDATE - rename DiagnosticHandler macro to Diagnostic | Jhonny Bill Mena | -30/+30 | |
| 2022-09-21 | UPDATE - rename DiagnosticHandler trait to IntoDiagnostic | Jhonny Bill Mena | -34/+34 | |
| 2022-09-21 | UPDATE - move SessionDiagnostic from rustc_session to rustc_errors | Jhonny Bill Mena | -1/+1 | |
| 2022-09-05 | UPDATE - accept start_point and snippet instead of SourceMap | Jhonny Bill Mena | -5/+5 | |
| 2022-09-05 | [Gardening] UPDATE - tidy fixes | Jhonny Bill Mena | -1/+1 | |
| 2022-09-05 | UPDATE - avoid exposing source_map methods from Handler | Jhonny Bill Mena | -6/+5 | |
| 2022-09-05 | UPDATE - into_diagnostic to take a Handler instead of a ParseSess | Jhonny Bill Mena | -7/+11 | |
| Suggested by the team in this Zulip Topic https://rust-lang.zulipchat.com/#narrow/stream/336883-i18n/topic/.23100717.20SessionDiagnostic.20on.20Handler Handler already has almost all the capabilities of ParseSess when it comes to diagnostic emission, in this migration we only needed to add the ability to access source_map from the emitter in order to get a Snippet and the start_point. Not sure if this is the best way to address this gap | ||||
| 2022-08-27 | use smaller span for suggestions | Takayuki Maeda | -8/+6 | |
| 2022-08-22 | Move `LitKind` logic to `session_diagnostics` module | Hampus Lidin | -1/+16 | |
| 2022-08-22 | Change to `diag` attributes | Hampus Lidin | -29/+30 | |
| 2022-08-22 | Reorder diagnostics in code order, then alphabetical order | Hampus Lidin | -110/+233 | |
| 2022-08-22 | Refactor additional diagnostics in `rustc_attr` | Hampus Lidin | -0/+62 | |
| 2022-08-22 | Refactor diagnostics in `handle_errors` function | Hampus Lidin | -0/+196 | |
