We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1fc11f commit 80309d2Copy full SHA for 80309d2
chalk-solve/src/display/state.rs
@@ -60,7 +60,7 @@ impl<T> Default for IdAliasStore<T> {
60
}
61
62
63
-impl<T: Copy> IdAliasStore<T> {
+impl<T: Copy + Eq + core::hash::Hash> IdAliasStore<T> {
64
fn alias_for_id_name(&mut self, id: T, name: String) -> String {
65
let next_unused_for_name = &mut self.next_unused_for_name;
66
let alias = *self.aliases.entry(id).or_insert_with(|| {
0 commit comments