pub enum TacticError {
NoGoals,
DoesNotApply {
tactic: &'static str,
goal: Goal,
why: String,
},
GoalsRemain(Vec<Goal>),
Kernel(KernelError),
}Expand description
Why a tactic did nothing, or why there is no proof yet.
Variants§
NoGoals
Every goal is closed.
DoesNotApply
The tactic does not apply to the focused goal.
GoalsRemain(Vec<Goal>)
qed with goals still open.
Kernel(KernelError)
The kernel refused a term: the statement at GoalState::new, the proof at
GoalState::qed.
Trait Implementations§
Source§impl Debug for TacticError
impl Debug for TacticError
Source§impl Display for TacticError
impl Display for TacticError
Source§impl Error for TacticError
impl Error for TacticError
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 TacticError
impl RefUnwindSafe for TacticError
impl Send for TacticError
impl Sync for TacticError
impl Unpin for TacticError
impl UnsafeUnpin for TacticError
impl UnwindSafe for TacticError
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