rust/compiler/rustc_error_messages
David Wood 3857d9c2da
borrowck/errors: fix i18n error in delayed bug
During borrowck, the `MultiSpan` from a buffered diagnostic is cloned and
used to emit a delayed bug indicating a diagnostic was buffered - when
the buffered diagnostic is translated, then the cloned `MultiSpan` may
contain labels which can only render with the diagnostic's arguments, but
the delayed bug being emitted won't have those arguments. Adds a function
which clones `MultiSpan` without also cloning the contained labels, and
use this function when creating the buffered diagnostic delayed bug.

Signed-off-by: David Wood <david@davidtw.co>
2023-07-24 15:47:03 +01:00
..
src borrowck/errors: fix i18n error in delayed bug 2023-07-24 15:47:03 +01:00
Cargo.toml Update ICU4X to 1.2 2023-05-02 10:45:16 -07:00
messages.ftl