about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-12 20:39:14 +0530
committerGitHub <noreply@github.com>2022-08-12 20:39:14 +0530
commit9e69dbce1993862539ef5fb4c53d09e0f1b73536 (patch)
tree2d429f40d017abe6f4276e92a5cff0fb870dafc8 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parentda3b89d0bf8166936d73e48dce23157f389d51e3 (diff)
parent2eebd34cd50c1486024da06d24415781af3a0a54 (diff)
downloadrust-9e69dbce1993862539ef5fb4c53d09e0f1b73536.tar.gz
rust-9e69dbce1993862539ef5fb4c53d09e0f1b73536.zip
Rollup merge of #100366 - davidtwco:translation-never-fail, r=compiler-errors
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.

r? ```@compiler-errors``` (since this comes out of a in-person discussion we had at RustConf)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions