about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorNathan Stocks <cleancut@github.com>2022-08-26 14:39:59 -0600
committerNathan Stocks <cleancut@github.com>2022-08-31 10:56:42 -0600
commit0d65819d529f222e47164f6c8132d8134909f2a4 (patch)
tree273a58e5e2ff576a688e8186142ed1faad81d12b /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parentd0ba1fbaa4f73b6edf27346817b1f74fb352945e (diff)
downloadrust-0d65819d529f222e47164f6c8132d8134909f2a4.tar.gz
rust-0d65819d529f222e47164f6c8132d8134909f2a4.zip
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
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions