pub struct EvaluationGap {
pub span: Span,
pub construct: String,
pub reason: String,
}Expand description
A located reason why syntax cannot be erased without a compiler decision.
Fields§
§span: SpanExact unsupported syntax location.
construct: StringStable syntax category.
reason: StringLiteral admission-rule explanation.
Trait Implementations§
Source§impl Clone for EvaluationGap
impl Clone for EvaluationGap
Source§fn clone(&self) -> EvaluationGap
fn clone(&self) -> EvaluationGap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvaluationGap
impl Debug for EvaluationGap
Source§impl Display for EvaluationGap
impl Display for EvaluationGap
impl Eq for EvaluationGap
Source§impl Error for EvaluationGap
impl Error for EvaluationGap
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()
Source§impl PartialEq for EvaluationGap
impl PartialEq for EvaluationGap
impl StructuralPartialEq for EvaluationGap
Auto Trait Implementations§
impl Freeze for EvaluationGap
impl RefUnwindSafe for EvaluationGap
impl Send for EvaluationGap
impl Sync for EvaluationGap
impl Unpin for EvaluationGap
impl UnsafeUnpin for EvaluationGap
impl UnwindSafe for EvaluationGap
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