From ab5fab7c774a025e415a8c09df288f37787cf18f Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 8 Jan 2025 23:51:46 -0800 Subject: [PATCH] Add attributes_domain to DecimalDigitsV1 (#5962) Fixes #5824 --- components/decimal/src/provider.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/decimal/src/provider.rs b/components/decimal/src/provider.rs index 605ada21568..3e6c10a6840 100644 --- a/components/decimal/src/provider.rs +++ b/components/decimal/src/provider.rs @@ -229,7 +229,11 @@ pub struct DecimalSymbolsV2<'data> { /// including in SemVer minor releases. While the serde representation of data structs is guaranteed /// to be stable, their Rust representation might not be. Use with caution. /// -#[icu_provider::data_struct(DecimalDigitsV1Marker = "decimal/digits@1")] +#[icu_provider::data_struct(marker( + DecimalDigitsV1Marker, + "decimal/digits@1", + attributes_domain = "numbering_system" +))] #[derive(Debug, PartialEq, Clone, Copy)] #[cfg_attr(feature = "serde", derive(serde::Deserialize))] #[cfg_attr(feature = "datagen", derive(serde::Serialize, databake::Bake))]