pub struct TyVarNotFound<var, suggest> {
pub var: var,
pub suggest: suggest,
}Expand description
Generate an error for a type variable that was not declared yet, which has consequences on what we should say is and isn’t available.
Fields§
§var: varWhat is missing.
suggest: suggestLocal variable suggestions.
Trait Implementations§
Auto Trait Implementations§
impl<var, suggest> Freeze for TyVarNotFound<var, suggest>
impl<var, suggest> RefUnwindSafe for TyVarNotFound<var, suggest>where
var: RefUnwindSafe,
suggest: RefUnwindSafe,
impl<var, suggest> Send for TyVarNotFound<var, suggest>
impl<var, suggest> Sync for TyVarNotFound<var, suggest>
impl<var, suggest> Unpin for TyVarNotFound<var, suggest>
impl<var, suggest> UnwindSafe for TyVarNotFound<var, suggest>where
var: UnwindSafe,
suggest: UnwindSafe,
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