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:
authorJoshua Nelson <jyn514@gmail.com>2020-10-03 19:15:27 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-10-03 19:21:56 -0400
commit5f76b95e9b5560e1f6784ab3c003e7106ae74d19 (patch)
treeca4a93a43e2a4dc6a0a07c8a0aab6e693afbbb1f /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parent782013564efc06ef02614ba35a4e67dee4fcb8e7 (diff)
downloadrust-5f76b95e9b5560e1f6784ab3c003e7106ae74d19.tar.gz
rust-5f76b95e9b5560e1f6784ab3c003e7106ae74d19.zip
Change DocFragments from enum variant fields to structs with a nested enum
This makes the code a lot easier to work with. It also makes it easier
to add new fields without updating each variant and `match`
individually.

- Name the `Kind` variant after `DocFragmentKind` from `collapse_docs`
- Remove unneeded impls
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions