about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-08-10 11:48:25 +0100
committerDavid Wood <david.wood@huawei.com>2022-08-10 11:48:25 +0100
commit2eebd34cd50c1486024da06d24415781af3a0a54 (patch)
tree3b12cadc0149ffd0206348f59bf6d2581865057b /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent1603a70f82240ba2d27f72f964e36614d7620ad3 (diff)
downloadrust-2eebd34cd50c1486024da06d24415781af3a0a54.tar.gz
rust-2eebd34cd50c1486024da06d24415781af3a0a54.zip
errors: don't fail on broken primary translations
If a primary bundle doesn't contain a message then the fallback bundle
is used. However, if the primary bundle's message is broken (e.g. it
refers to a interpolated variable that the compiler isn't providing)
then this would just result in a compiler panic. While there aren't any
primary bundles right now, this is the type of issue that could come up
once translation is further along.

Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions