about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-13 21:04:19 +0000
committerbors <bors@rust-lang.org>2022-04-13 21:04:19 +0000
commita377ebc82e51afbb6ec11f7defe20cec5b2d87a4 (patch)
treedce8274287dc765ceab741f47db15c1dca29c15f /tests/rustdoc-js-std/parser-errors.js
parent27634b03ea78262816ee8b48f8e3538ec32b965b (diff)
parent5b7df246cffdfeeadb95412a0143442a36c08496 (diff)
downloadrust-a377ebc82e51afbb6ec11f7defe20cec5b2d87a4.tar.gz
rust-a377ebc82e51afbb6ec11f7defe20cec5b2d87a4.zip
Auto merge of #95968 - davidtwco:translation-lazy-fallback, r=oli-obk
errors: lazily load fallback fluent bundle

Addresses (hopefully) https://github.com/rust-lang/rust/pull/95667#issuecomment-1094794087.

Loading the fallback bundle in compilation sessions that won't go on to emit any errors unnecessarily degrades compile time performance, so lazily create the Fluent bundle when it is first required.

r? `@ghost` (just for perf initially)
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions