about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorNadrieril <nadrieril+git@gmail.com>2024-01-07 11:05:18 +0100
committerNadrieril <nadrieril+git@gmail.com>2024-01-07 16:45:44 +0100
commit30ca1c0a5db532d75f7785e9fb530e0b4388bbd5 (patch)
tree649297f77c5eeaa775f84f039a31e11c574de052 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent4c2386137a8e9a7c61036594e717ab1ad443c2d5 (diff)
downloadrust-30ca1c0a5db532d75f7785e9fb530e0b4388bbd5.tar.gz
rust-30ca1c0a5db532d75f7785e9fb530e0b4388bbd5.zip
Remove incorrect `assert`
It's incorrect because `CtorSet::split` returns a non-present
constructor into `present` in one specific case: variable-length slices
of an empty type. That's because empty constructors of arity 0 break the
algorithm. This is a tricky corner case that's hard to do cleanly. The
assert wasn't adding much anyway.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions