pub struct DuplicateDeclare {
pub kind: &'static str,
pub symbol: String,
pub lhs: Span,
pub rhs: Span,
}Fields§
§kind: &'static str§symbol: String§lhs: Span§rhs: SpanImplementations§
Source§impl DuplicateDeclare
impl DuplicateDeclare
pub fn as_report(&self, level: DiagnosticLevel, file: &FileID) -> Diagnostic
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DuplicateDeclare
impl RefUnwindSafe for DuplicateDeclare
impl Send for DuplicateDeclare
impl Sync for DuplicateDeclare
impl Unpin for DuplicateDeclare
impl UnwindSafe for DuplicateDeclare
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