diff --git a/components/pattern/src/common.rs b/components/pattern/src/common.rs index 951cea986ff..27790035b68 100644 --- a/components/pattern/src/common.rs +++ b/components/pattern/src/common.rs @@ -229,11 +229,13 @@ where { type Error = T::Error; - type W<'a> = T::W<'a> + type W<'a> + = T::W<'a> where Self: 'a; - type L<'a, 'l> = T::L<'a, 'l> + type L<'a, 'l> + = T::L<'a, 'l> where Self: 'a; diff --git a/components/pattern/src/double.rs b/components/pattern/src/double.rs index d8314974f47..1dc8fd3c8fd 100644 --- a/components/pattern/src/double.rs +++ b/components/pattern/src/double.rs @@ -76,11 +76,13 @@ where { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible> + type W<'a> + = WriteableAsTryWriteableInfallible> where Self: 'a; - type L<'a, 'l> = &'l str + type L<'a, 'l> + = &'l str where Self: 'a; @@ -104,11 +106,13 @@ where { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible<&'a W> + type W<'a> + = WriteableAsTryWriteableInfallible<&'a W> where Self: 'a; - type L<'a, 'l> = &'l str + type L<'a, 'l> + = &'l str where Self: 'a; diff --git a/components/pattern/src/multi_named.rs b/components/pattern/src/multi_named.rs index 62a5faa1ae3..2dfd4e021dd 100644 --- a/components/pattern/src/multi_named.rs +++ b/components/pattern/src/multi_named.rs @@ -95,11 +95,13 @@ where { type Error = MissingNamedPlaceholderError<'k>; - type W<'a> = Result<&'a W, Self::Error> + type W<'a> + = Result<&'a W, Self::Error> where Self: 'a; - type L<'a, 'l> = &'l str + type L<'a, 'l> + = &'l str where Self: 'a; @@ -125,11 +127,13 @@ where { type Error = MissingNamedPlaceholderError<'k>; - type W<'a> = Result<&'a W, Self::Error> + type W<'a> + = Result<&'a W, Self::Error> where Self: 'a; - type L<'a, 'l> = &'l str + type L<'a, 'l> + = &'l str where Self: 'a; diff --git a/components/pattern/src/single.rs b/components/pattern/src/single.rs index 70464f00fdd..9cf75228015 100644 --- a/components/pattern/src/single.rs +++ b/components/pattern/src/single.rs @@ -66,11 +66,13 @@ where { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible<&'a W> + type W<'a> + = WriteableAsTryWriteableInfallible<&'a W> where Self: 'a; - type L<'a, 'l> = &'l str + type L<'a, 'l> + = &'l str where Self: 'a; @@ -89,11 +91,13 @@ where { type Error = Infallible; - type W<'a> = WriteableAsTryWriteableInfallible<&'a W> + type W<'a> + = WriteableAsTryWriteableInfallible<&'a W> where Self: 'a; - type L<'a, 'l> = &'l str + type L<'a, 'l> + = &'l str where Self: 'a;