Skip to content

Commit

Permalink
Add some Debug implementations in datagen (#3418)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Manishearth committed May 9, 2023
1 parent b0890a7 commit 458e536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions provider/datagen/src/transform/cldr/characters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use icu_provider::datagen::IterableDataProvider;
use icu_provider::prelude::*;
use itertools::Itertools;

#[derive(Debug)]
struct AnnotatedResource<'a, M: DataMarker>(
&'a cldr_serde::exemplar_chars::Resource,
PhantomData<M>,
Expand Down
1 change: 1 addition & 0 deletions provider/datagen/src/transform/cldr/decimal/symbols.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ impl IterableDataProvider<DecimalSymbolsV1Marker> for crate::DatagenProvider {
}
}

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

impl TryFrom<NumbersWithNumsys<'_>> for DecimalSymbolsV1<'static> {
Expand Down

0 comments on commit 458e536

Please sign in to comment.