pub struct Located<'a> { /* private fields */ }Expand description
A diagnostic rendered against the file it came from: path:line:col: text.
A typed Display rather than a format! at the call site, per ★★ TYPED
EMISSION — the shape every editor and every cc already knows how to jump
to, produced by exactly one write!.
Trait Implementations§
impl<'a> Copy for Located<'a>
Auto Trait Implementations§
impl<'a> Freeze for Located<'a>
impl<'a> RefUnwindSafe for Located<'a>
impl<'a> Send for Located<'a>
impl<'a> Sync for Located<'a>
impl<'a> Unpin for Located<'a>
impl<'a> UnsafeUnpin for Located<'a>
impl<'a> UnwindSafe for Located<'a>
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