1
Fork 0

respond to review feedback: mainly eliminate as many conversions as possible...

- ... when creating diagnostics in rustc_metadata
-  use the error_code! macro
- pass macro output to diag.code()
- use fluent from within manual implementation of SessionDiagnostic
- emit the untested errors in case they occur in the wild
- stop panicking in the probably-not-dead code, add fixme to write test
This commit is contained in:
Nathan Stocks 2022-08-26 14:39:59 -06:00
parent d0ba1fbaa4
commit 0d65819d52
11 changed files with 234 additions and 226 deletions

View file

@ -3514,6 +3514,7 @@ dependencies = [
"rustc_macros",
"rustc_serialize",
"rustc_span",
"rustc_target",
"serde",
"serde_json",
"termcolor",