@@ -413,7 +413,7 @@ impl AutoDiscoveryAttemptFailure {
413413}
414414
415415impl WpSupportsLocalization for AutoDiscoveryAttemptFailure {
416- fn message_bundle ( & self ) -> MessageBundle {
416+ fn message_bundle ( & self ) -> MessageBundle < ' _ > {
417417 match self {
418418 Self :: ParseSiteUrl { error } => error. message_bundle ( ) ,
419419 Self :: FindApiRoot {
@@ -439,7 +439,7 @@ pub enum FindApiRootFailure {
439439}
440440
441441impl FindApiRootFailure {
442- fn message_bundle ( & self ) -> MessageBundle {
442+ fn message_bundle ( & self ) -> MessageBundle < ' _ > {
443443 match self {
444444 Self :: FetchHomepage { error } => error. message_bundle ( ) ,
445445 Self :: ProbablyNotAWordPressSite => WpMessages :: probably_not_wordpress_site ( ) ,
@@ -486,7 +486,7 @@ pub enum FetchAndParseApiRootFailure {
486486}
487487
488488impl FetchAndParseApiRootFailure {
489- fn message_bundle ( & self , parsed_site_url : impl std:: fmt:: Display ) -> MessageBundle {
489+ fn message_bundle ( & self , parsed_site_url : impl std:: fmt:: Display ) -> MessageBundle < ' _ > {
490490 match self {
491491 Self :: FetchApiRoot { error } => error. message_bundle ( ) ,
492492 Self :: ParseApiRoot { reason, .. } => {
@@ -530,7 +530,7 @@ pub enum ApplicationPasswordsNotSupportedReason {
530530}
531531
532532impl ApplicationPasswordsNotSupportedReason {
533- fn message_bundle ( & self , parsed_site_url : impl std:: fmt:: Display ) -> MessageBundle {
533+ fn message_bundle ( & self , parsed_site_url : impl std:: fmt:: Display ) -> MessageBundle < ' _ > {
534534 match self {
535535 Self :: ApplicationPasswordBlockedByPlugin { plugin } => {
536536 WpMessages :: application_password_blocked_by_plugin (
@@ -688,7 +688,7 @@ pub enum FetchApiDetailsError {
688688}
689689
690690impl WpSupportsLocalization for FetchApiDetailsError {
691- fn message_bundle ( & self ) -> MessageBundle {
691+ fn message_bundle ( & self ) -> MessageBundle < ' _ > {
692692 match self {
693693 FetchApiDetailsError :: RequestExecutionFailed { reason, .. } => reason. message_bundle ( ) ,
694694 FetchApiDetailsError :: ApiDetailsCouldntBeParsed { reason, .. } => {
@@ -715,7 +715,7 @@ pub enum XmlrpcDisabledReason {
715715}
716716
717717impl WpSupportsLocalization for XmlrpcDiscoveryError {
718- fn message_bundle ( & self ) -> MessageBundle {
718+ fn message_bundle ( & self ) -> MessageBundle < ' _ > {
719719 match self {
720720 XmlrpcDiscoveryError :: FetchHomepage { error } => error. message_bundle ( ) ,
721721 XmlrpcDiscoveryError :: EndpointNotFound => WpMessages :: xmlrpc_endpoint_not_found ( ) ,
@@ -789,7 +789,7 @@ impl ParseApiRootFailureReason {
789789 }
790790 }
791791
792- fn message_bundle ( & self ) -> MessageBundle {
792+ fn message_bundle ( & self ) -> MessageBundle < ' _ > {
793793 match self {
794794 Self :: ServerFatalError => {
795795 WpMessages :: parse_api_root_failure_reason_server_fatal_error ( )
0 commit comments