pub struct Help {
pub message: String,
pub suggestions: Vec<Suggestion>,
pub applicability: Applicability,
}Expand description
A help message attached to a diagnostic. Mirrors rustc’s
help: line with an optional list of concrete suggestions.
Fields§
§message: String§suggestions: Vec<Suggestion>§applicability: ApplicabilityTrait Implementations§
Auto Trait Implementations§
impl Forget for Help
impl Freeze for Help
impl RefUnwindSafe for Help
impl Send for Help
impl Sync for Help
impl Unpin for Help
impl UnsafeUnpin for Help
impl UnwindSafe for Help
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