diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-01-07 11:05:18 +0100 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-01-07 16:45:44 +0100 |
| commit | 30ca1c0a5db532d75f7785e9fb530e0b4388bbd5 (patch) | |
| tree | 649297f77c5eeaa775f84f039a31e11c574de052 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 4c2386137a8e9a7c61036594e717ab1ad443c2d5 (diff) | |
| download | rust-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
