rust/compiler/rustc_errors/src
Matthias Krüger edd27cf4ca
Rollup merge of #108482 - Ezrashaw:force-error-docs, r=GuillaumeGomez
statically guarantee that current error codes are documented

Closes #61137 (that's right!)

Pretty simple refactor (often just a change from `Result<Option<&str>>` to `Result<&str>`)

r? `@GuillaumeGomez` (could you specially look at 53044158eff0d64673a6100f701c57b484232aca? I believe you wrote that in the first place, just want to make sure you're happy with the change)
2023-02-26 12:05:00 +01:00
..
json various: translation resources from cg backend 2023-02-22 09:15:54 +00:00
annotate_snippet_emitter_writer.rs Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
diagnostic_builder.rs Use AddToDiagnostic for "use latest edition" help 2023-02-01 21:49:45 +01:00
diagnostic_impls.rs Complete migrating ast_passes to derive diagnostics 2023-02-25 15:19:13 +00:00
diagnostic.rs rebase and review comments 2023-02-14 20:22:10 +00:00
emitter.rs More accurate spans for arg removal suggestion 2023-02-14 20:22:09 +00: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 Rollup merge of #108482 - Ezrashaw:force-error-docs, r=GuillaumeGomez 2023-02-26 12:05:00 +01:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
registry.rs refactor: statically guarantee that current error codes are documented 2023-02-26 20:12:36 +13:00
snippet.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
styled_buffer.rs Replace some _ == _ || _ == _s with matches!(_, _ | _)s 2023-01-30 12:26:26 +00:00
tests.rs Fix tests 2023-01-09 00:23:27 +01:00
translation.rs Restore behavior when primary bundle is missing 2023-02-23 01:14:10 +01:00