fn report_as_warning(error: &CapabilityRouteError) -> bool {
        match error {
            // It is expected that some components in a build may have children
            // that are not included in the build.
            CapabilityRouteError::ComponentNotFound(_) => true,
            CapabilityRouteError::ValidationNotImplemented(_) => true,
            _ => false,
        }
    }
// Selects some error types to report as warnings rather than as errors.
Selects some error types to report as warnings rather than as errors.
Selects some error types to report as warnings rather than as errors .
fn report_as_warning(error: &CapabilityRouteError) -> bool {
        match error {
            // It is expected that some components in a build may have children
            // that are not included in the build.
            CapabilityRouteError::ComponentNotFound(_) => true,
            CapabilityRouteError::ValidationNotImplemented(_) => true,
            _ => false,
        }
    }
fn report_as_warning ( error : & CapabilityRouteError ) -> bool { match error { // It is expected that some components in a build may have children // that are not included in the build. CapabilityRouteError :: ComponentNotFound ( _ ) => true , CapabilityRouteError :: ValidationNotImplemented ( _ ) => true , _ => false , } }
Selects some error types to report as warnings rather than as errors.
Selects some error types to report as warnings rather than as errors .
error
&CapabilityRouteError
error
&CapabilityRouteError