rust/compiler/rustc_errors/src
bors 52bdc37727 Auto merge of #114054 - oli-obk:cleanups, r=estebank
Split some functions with many arguments into builder pattern functions

r? `@estebank`

This doesn't resolve all of the ones in rustc, mostly because I need to do other cleanups in order to be able to use some builder derives from crates.io

Works around https://github.com/rust-lang/rust/issues/90672 by making `x test rustfmt --bless` format itself instead of testing that it is formatted
2023-07-26 11:17:35 +00:00
..
json Use a builder instead of boolean/option arguments 2023-07-25 13:51:15 +00:00
markdown Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
annotate_snippet_emitter_writer.rs Create AnnotationColumn struct to fix hard tab column numbers in errors 2023-03-28 09:18:55 -04:00
diagnostic_builder.rs Remove a redundant field 2023-07-25 13:33:09 +00:00
diagnostic_impls.rs Rollup merge of #114014 - davidtwco:issue-114010-env-rawstr, r=cjgillot 2023-07-25 19:21:37 +02:00
diagnostic.rs Optimize format usage 2023-07-24 00:08:09 -04:00
emitter.rs Optimize format usage 2023-07-24 00:08:09 -04:00
error.rs Make translate_message return result and add tests 2023-01-08 23:35:43 +01:00
json.rs refactor: statically guarantee that current error codes are documented 2023-02-26 20:12:36 +13:00
lib.rs Use a builder instead of boolean/option arguments 2023-07-25 13:51:15 +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