@@ -46,18 +46,14 @@ use crate::{Annotation, AnnotationKind, Element, Group, Level, Message, Origin,
4646pub use anstyle:: * ;
4747use indexmap:: IndexMap ;
4848use margin:: Margin ;
49- use rustc_hash:: { FxHashMap , FxHasher } ;
5049use std:: borrow:: Cow ;
5150use std:: cmp:: { max, min, Ordering , Reverse } ;
52- use std:: collections:: VecDeque ;
53- use std:: hash:: BuildHasherDefault ;
51+ use std:: collections:: { HashMap , VecDeque } ;
5452use stylesheet:: Stylesheet ;
5553
5654const ANONYMIZED_LINE_NUM : & str = "LL" ;
5755pub const DEFAULT_TERM_WIDTH : usize = 140 ;
5856
59- type FxIndexMap < K , V > = IndexMap < K , V , BuildHasherDefault < FxHasher > > ;
60-
6157/// A renderer for [`Message`]s
6258#[ derive( Clone , Debug ) ]
6359pub struct Renderer {
@@ -642,7 +638,7 @@ impl Renderer {
642638 self . draw_col_separator_no_space ( buffer, buffer_msg_line_offset, max_line_num_len + 1 ) ;
643639
644640 // Contains the vertical lines' positions for active multiline annotations
645- let mut multilines = FxIndexMap :: default ( ) ;
641+ let mut multilines = IndexMap :: new ( ) ;
646642
647643 // Get the left-side margin to remove it
648644 let mut whitespace_margin = usize:: MAX ;
@@ -729,7 +725,7 @@ impl Renderer {
729725 margin,
730726 ) ;
731727
732- let mut to_add = FxHashMap :: default ( ) ;
728+ let mut to_add = HashMap :: new ( ) ;
733729
734730 for ( depth, style) in depths {
735731 // FIXME(#120456) - is `swap_remove` correct?
0 commit comments