File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ ignore = [
7777 { id = " RUSTSEC-2025-0052" , reason = " Unmaintained async-std crate is an indirect dependency" },
7878 { id = " RUSTSEC-2025-0119" , reason = " Unmaintained number_prefix crate is an indirect dependency" },
7979 { id = " RUSTSEC-2025-0134" , reason = " Unmaintained rustls-pemfile crate is an indirect dependency" },
80+ { id = " RUSTSEC-2026-0002" , reason = " Unsound advisory in lru indirect dependency" },
8081]
8182# If this is true, then cargo deny will use the git executable to fetch advisory database.
8283# If this is false, then it uses a built-in git library.
Original file line number Diff line number Diff line change @@ -298,9 +298,8 @@ pub fn display_row(
298298 }
299299 } ) ?;
300300 // Fallback for relocation that wasn't displayed
301- if resolved . relocation . is_some ( ) && !displayed_relocation {
301+ if !displayed_relocation && let Some ( resolved ) = resolved . relocation {
302302 cb ( DiffTextSegment :: basic ( " <" , base_color) ) ?;
303- let resolved = resolved. relocation . unwrap ( ) ;
304303 let diff_index = ins_row. arg_diff . get ( arg_idx) . copied ( ) . unwrap_or_default ( ) ;
305304 let color =
306305 diff_index. get ( ) . map_or ( DiffTextColor :: Bright , |i| DiffTextColor :: Rotating ( i as u8 ) ) ;
You can’t perform that action at this time.
0 commit comments