pub struct DeadCode {
pub scope: Scope,
pub binding: Binding,
}
Expand description
Instance of a dead binding
Generate them with Settings::find_dead_code()
.
Fields§
§scope: Scope
§binding: Binding
The Binding
that is found to be unused
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DeadCode
impl !Send for DeadCode
impl !Sync for DeadCode
impl Unpin for DeadCode
impl !UnwindSafe for DeadCode
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