pub struct CascadeState {
pub suppressed_unused_files: Vec<PathBuf>,
pub hidden: CascadeHiddenFindings,
}Expand description
In-process state of the unused-file cascade filter.
An unused file in the report makes every export and member finding in it redundant: deleting the file removes them. The filter needs the files that a suppression comment removed from the report, and it keeps the findings that it removed, because a baseline entry for such a finding still describes the project and must not count as stale.
Fields§
§suppressed_unused_files: Vec<PathBuf>Unused files whose finding an inline fallow-ignore-file unused-file
comment suppressed. The cascade filter treats them as reported, so a
suppression comment never makes a hidden finding visible again. An
issue-type selection without unused files clears this list.
The findings that the filter removed from the report.
Trait Implementations§
Source§impl Clone for CascadeState
impl Clone for CascadeState
Source§impl Debug for CascadeState
impl Debug for CascadeState
Auto Trait Implementations§
impl Freeze for CascadeState
impl RefUnwindSafe for CascadeState
impl Send for CascadeState
impl Sync for CascadeState
impl Unpin for CascadeState
impl UnsafeUnpin for CascadeState
impl UnwindSafe for CascadeState
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