Skip to content

Commit 458e536

Browse files
authored
Add some Debug implementations in datagen (#3418)
This works around the `missing_debug_implementations` regression in rust-lang/rust#111359 . I don't know if that will be fixed soon; I spent some time investigating it and have an idea of what's going on but not enough to fix it (and don't want to spend more time on this right now). So for now, let's just listen to the lint and add these impls.
1 parent b0890a7 commit 458e536

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

provider/datagen/src/transform/cldr/characters/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use icu_provider::datagen::IterableDataProvider;
1212
use icu_provider::prelude::*;
1313
use itertools::Itertools;
1414

15+
#[derive(Debug)]
1516
struct AnnotatedResource<'a, M: DataMarker>(
1617
&'a cldr_serde::exemplar_chars::Resource,
1718
PhantomData<M>,

provider/datagen/src/transform/cldr/decimal/symbols.rs

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ impl IterableDataProvider<DecimalSymbolsV1Marker> for crate::DatagenProvider {
5858
}
5959
}
6060

61+
#[derive(Debug)]
6162
struct NumbersWithNumsys<'a>(pub &'a cldr_serde::numbers::Numbers, pub TinyAsciiStr<8>);
6263

6364
impl TryFrom<NumbersWithNumsys<'_>> for DecimalSymbolsV1<'static> {

0 commit comments

Comments
 (0)