pub enum AnalyzerError {
Duplicate(String, Span),
Unknown(String),
Group(String, Span),
Merge(String, Span),
VariableOption(String),
Rename,
}Available on crate feature
lang only.Expand description
Error report by semantic analyze step.
Variants§
Duplicate(String, Span)
Unknown(String)
Group(String, Span)
Merge(String, Span)
VariableOption(String)
Rename
Trait Implementations§
Source§impl Debug for AnalyzerError
impl Debug for AnalyzerError
Source§impl Display for AnalyzerError
impl Display for AnalyzerError
Source§impl Error for AnalyzerError
impl Error for AnalyzerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AnalyzerError
impl RefUnwindSafe for AnalyzerError
impl Send for AnalyzerError
impl Sync for AnalyzerError
impl Unpin for AnalyzerError
impl UnwindSafe for AnalyzerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more