rust/compiler/rustc_errors/src
bors fe896efa97 Auto merge of #114104 - oli-obk:syn2, r=compiler-errors
Lots of tiny incremental simplifications of `EmitterWriter` internals

ignore the first commit, it's https://github.com/rust-lang/rust/pull/114088 squashed and rebased, but it's needed to use to use `derive_setters`, as they need a newer `syn` version.

Then this PR starts out with removing many arguments that are almost always defaulted to `None` or `false` and replace them with builder methods that can set these fields in the few cases that want to set them.

After that it's one commit after the other that removes or merges things until everything becomes some very simple trait objects
2023-08-04 18:46:19 +00:00
..
json Use a builder instead of boolean/option arguments 2023-07-25 13:51:15 +00:00
markdown Unite bless environment variables under RUSTC_BLESS 2023-07-26 16:54:02 -04:00
annotate_snippet_emitter_writer.rs Make --error-format human-annotate-rs handle multiple files 2023-07-24 16:29:58 +02:00
diagnostic_builder.rs Remove a redundant field 2023-07-25 13:33:09 +00:00
diagnostic_impls.rs Auto merge of #113281 - dayo05:master, r=davidtwco 2023-07-27 09:20:40 +00:00
diagnostic.rs Optimize format usage 2023-07-24 00:08:09 -04:00
emitter.rs Sanity check that we actually flush all buffers 2023-07-31 09:34:36 +00:00
error.rs Make translate_message return result and add tests 2023-01-08 23:35:43 +01:00
json.rs Remove a bool for color in favor of the WriteColor trait wrapping colored and uncolored printing 2023-07-31 09:34:36 +00:00
lib.rs Auto merge of #114104 - oli-obk:syn2, r=compiler-errors 2023-08-04 18:46:19 +00: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 correct literals for dyn thread safe 2023-05-06 09:34:53 +08:00
translation.rs Restore behavior when primary bundle is missing 2023-02-23 01:14:10 +01:00