pub struct ReconstructIssue {
pub code: &'static str,
pub message: String,
pub span: Option<Span>,
}Expand description
A structured reconstruction diagnostic naming one non-representable WIR
construct. Stable code, a human-readable message, and the offending
source span when the WIR carries one.
Fields§
§code: &'static str§message: String§span: Option<Span>Trait Implementations§
Source§impl Clone for ReconstructIssue
impl Clone for ReconstructIssue
Source§fn clone(&self) -> ReconstructIssue
fn clone(&self) -> ReconstructIssue
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 ReconstructIssue
impl Debug for ReconstructIssue
impl Eq for ReconstructIssue
Source§impl PartialEq for ReconstructIssue
impl PartialEq for ReconstructIssue
impl StructuralPartialEq for ReconstructIssue
Auto Trait Implementations§
impl Freeze for ReconstructIssue
impl RefUnwindSafe for ReconstructIssue
impl Send for ReconstructIssue
impl Sync for ReconstructIssue
impl Unpin for ReconstructIssue
impl UnsafeUnpin for ReconstructIssue
impl UnwindSafe for ReconstructIssue
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