localize_it 2.5.2

Simple and fast library for localization
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::utils::aliases::SynError;
use proc_macro2::Span;

pub struct NoLocaleVariantError;

impl NoLocaleVariantError {
    pub fn new() -> SynError {
        SynError::new(Span::call_site(), "Expected at least one locale variant")
    }
}