about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2020-01-02 19:02:06 -0500
committerAndy Russell <arussell123@gmail.com>2020-01-03 17:57:23 -0500
commite589358210862cdbb34c124bcc95a67afe09135c (patch)
tree952b29c584b7b695baa24dbffc46b6259dbb15c4 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent0a58f5864659ddfe1d95c122abaa75c88220aed0 (diff)
downloadrust-e589358210862cdbb34c124bcc95a67afe09135c.tar.gz
rust-e589358210862cdbb34c124bcc95a67afe09135c.zip
improve generic `Drop` error messages
- Use the span of the predicate
- Use the def's description instead of "struct/enum" (notably incorrect
  for unions)
- Align formatting with other error messages
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions