Enum jj_lib::revset::RevsetParseErrorKind
source · pub enum RevsetParseErrorKind {
SyntaxError,
NotPostfixOperator {
op: String,
similar_op: String,
description: String,
},
NotInfixOperator {
op: String,
similar_op: String,
description: String,
},
NoSuchFunction {
name: String,
candidates: Vec<String>,
},
InvalidFunctionArguments {
name: String,
message: String,
},
FsPathParseError(FsPathParseError),
FsPathWithoutWorkspace,
WorkingCopyWithoutWorkspace,
RedefinedFunctionParameter,
BadAliasExpansion(String),
RecursiveAlias(String),
}
Variants§
SyntaxError
NotPostfixOperator
NotInfixOperator
NoSuchFunction
InvalidFunctionArguments
FsPathParseError(FsPathParseError)
FsPathWithoutWorkspace
WorkingCopyWithoutWorkspace
RedefinedFunctionParameter
BadAliasExpansion(String)
RecursiveAlias(String)
Trait Implementations§
source§impl Debug for RevsetParseErrorKind
impl Debug for RevsetParseErrorKind
source§impl Display for RevsetParseErrorKind
impl Display for RevsetParseErrorKind
source§impl Error for RevsetParseErrorKind
impl Error for RevsetParseErrorKind
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl PartialEq for RevsetParseErrorKind
impl PartialEq for RevsetParseErrorKind
source§fn eq(&self, other: &RevsetParseErrorKind) -> bool
fn eq(&self, other: &RevsetParseErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RevsetParseErrorKind
impl StructuralEq for RevsetParseErrorKind
impl StructuralPartialEq for RevsetParseErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for RevsetParseErrorKind
impl Send for RevsetParseErrorKind
impl Sync for RevsetParseErrorKind
impl Unpin for RevsetParseErrorKind
impl UnwindSafe for RevsetParseErrorKind
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