rust/compiler/rustc_errors/src
Michael Goulet da700b39df
Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk
`Emitter` cleanups

Some improvements I found while looking at this code.

r? `@oli-obk`
2024-01-05 10:57:24 -05:00
..
json Rename many DiagCtxt and EarlyDiagCtxt locals. 2023-12-18 16:06:22 +11:00
markdown remove redundant imports 2023-12-10 10:56:22 +08:00
annotate_snippet_emitter_writer.rs Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk 2024-01-05 10:57:24 -05:00
diagnostic_builder.rs Fix forward! so it doesn't require trailing commas in some cases. 2024-01-03 19:40:43 +11:00
diagnostic_impls.rs Rename some Diagnostic setters. 2024-01-03 19:40:20 +11:00
diagnostic.rs Remove is_lint field from Level::Error. 2024-01-04 16:09:31 +11:00
emitter.rs Add some comments to Emitter. 2024-01-05 10:49:35 +11:00
error.rs Make translate_message return result and add tests 2023-01-08 23:35:43 +01:00
json.rs Remove SubDiagnostic::render_span. 2023-12-23 13:23:28 +11:00
lib.rs Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk 2024-01-05 10:57:24 -05:00
lock.rs bump windows crate 0.46 -> 0.48 in workspace 2023-05-09 18:20:13 +03:00
registry.rs refactor: statically guarantee that current error codes are documented 2023-02-26 20:12:36 +13:00
snippet.rs Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
styled_buffer.rs Replace some _ == _ || _ == _s with matches!(_, _ | _)s 2023-01-30 12:26:26 +00:00
tests.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
translation.rs Restore behavior when primary bundle is missing 2023-02-23 01:14:10 +01:00