pub struct Finding {
pub rule: &'static str,
pub message: String,
}Expand description
One advisory finding. Lint never fails a build — it points.
Fields§
§rule: &'static strStable rule id (L1…) for filtering and docs.
message: StringWhat’s wrong and where, human-first.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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