From 4a6cb1bf0db113b494432113655ebb3bdf174508 Mon Sep 17 00:00:00 2001 From: Robert Bastian <4706271+robertbastian@users.noreply.github.com> Date: Tue, 19 Sep 2023 14:36:19 +0200 Subject: [PATCH] datagen --- .../data/data/macros/time_zone_bcp47_to_iana_v1.data.rs | 4 +++- .../data/data/macros/time_zone_iana_to_bcp47_v1.data.rs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/timezone/data/data/macros/time_zone_bcp47_to_iana_v1.data.rs b/components/timezone/data/data/macros/time_zone_bcp47_to_iana_v1.data.rs index 632b3a3d0d2..085ac2ffbec 100644 --- a/components/timezone/data/data/macros/time_zone_bcp47_to_iana_v1.data.rs +++ b/components/timezone/data/data/macros/time_zone_bcp47_to_iana_v1.data.rs @@ -5,7 +5,9 @@ #[doc(hidden)] #[macro_export] macro_rules! __impl_time_zone_bcp47_to_iana_v1 { - ($ provider : path) => { + ($ provider : ty) => { + #[clippy::msrv = "1.66"] + const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO; #[clippy::msrv = "1.66"] impl $provider { #[doc(hidden)] diff --git a/components/timezone/data/data/macros/time_zone_iana_to_bcp47_v1.data.rs b/components/timezone/data/data/macros/time_zone_iana_to_bcp47_v1.data.rs index ba8944d3315..bd03ccb3cbf 100644 --- a/components/timezone/data/data/macros/time_zone_iana_to_bcp47_v1.data.rs +++ b/components/timezone/data/data/macros/time_zone_iana_to_bcp47_v1.data.rs @@ -5,7 +5,9 @@ #[doc(hidden)] #[macro_export] macro_rules! __impl_time_zone_iana_to_bcp47_v1 { - ($ provider : path) => { + ($ provider : ty) => { + #[clippy::msrv = "1.66"] + const _: () = <$provider>::MUST_USE_MAKE_PROVIDER_MACRO; #[clippy::msrv = "1.66"] impl $provider { #[doc(hidden)]