about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-11-06 23:10:01 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-11-07 08:41:18 -0800
commit7b7023cb723775fa20bda42e97dbc44abe7ecb0c (patch)
tree2e2407a5108e2369989d9b28a33b717d5e2661b7 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
parentc32ee54380bfa39cb300a330f1ce886b9f90eaaf (diff)
downloadrust-7b7023cb723775fa20bda42e97dbc44abe7ecb0c.tar.gz
rust-7b7023cb723775fa20bda42e97dbc44abe7ecb0c.zip
rustdoc: Refactor `Impl.{synthetic,blanket_impl}` into enum
This change has two advantages:

1. It makes the possible states clearer, and it makes it impossible to
   construct invalid states, such as a blanket impl that is also an auto
   trait impl.

2. It shrinks the size of `Impl` a bit, since now there is only one
   field, rather than two.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions