about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-12-26 15:05:12 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-01-01 16:56:03 +0100
commit043745cb9688fbecd97638b2fa156cb055bbbb14 (patch)
tree6c722e08e3fdfc9508306fd6e5986718ebe168bd /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent2fe2728fa900a708d2c70342d9d6737e5462cf5d (diff)
downloadrust-043745cb9688fbecd97638b2fa156cb055bbbb14.tar.gz
rust-043745cb9688fbecd97638b2fa156cb055bbbb14.zip
Avoid the merge derive macro in rustbuild
The task of the macro is simple enough that a decl macro is almost ten
times shorter than the original proc macro. The proc macro is 159 lines
while the decl macro is just 18 lines.

This reduces the amount of dependencies of rustbuild from 45 to 37. It
also slight reduces compilation time from 47s to 44s for debug builds.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions