11error: impl for `HashMap` should be generalized over different hashers
2- --> $DIR/implicit_hasher.rs:11 :35
2+ --> $DIR/implicit_hasher.rs:15 :35
33 |
44LL | impl<K: Hash + Eq, V> Foo<i8> for HashMap<K, V> {
55 | ^^^^^^^^^^^^^
@@ -15,7 +15,7 @@ LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default:
1515 | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1616
1717error: impl for `HashMap` should be generalized over different hashers
18- --> $DIR/implicit_hasher.rs:20 :36
18+ --> $DIR/implicit_hasher.rs:24 :36
1919 |
2020LL | impl<K: Hash + Eq, V> Foo<i8> for (HashMap<K, V>,) {
2121 | ^^^^^^^^^^^^^
@@ -29,7 +29,7 @@ LL | ((HashMap::default(),), (HashMap::with_capacity_and_hasher(10, Defa
2929 | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3030
3131error: impl for `HashMap` should be generalized over different hashers
32- --> $DIR/implicit_hasher.rs:25 :19
32+ --> $DIR/implicit_hasher.rs:29 :19
3333 |
3434LL | impl Foo<i16> for HashMap<String, String> {
3535 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -43,7 +43,7 @@ LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10, Default:
4343 | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4444
4545error: impl for `HashSet` should be generalized over different hashers
46- --> $DIR/implicit_hasher.rs:42 :32
46+ --> $DIR/implicit_hasher.rs:46 :32
4747 |
4848LL | impl<T: Hash + Eq> Foo<i8> for HashSet<T> {
4949 | ^^^^^^^^^^
@@ -57,7 +57,7 @@ LL | (HashSet::default(), HashSet::with_capacity_and_hasher(10, Default:
5757 | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5858
5959error: impl for `HashSet` should be generalized over different hashers
60- --> $DIR/implicit_hasher.rs:47 :19
60+ --> $DIR/implicit_hasher.rs:51 :19
6161 |
6262LL | impl Foo<i16> for HashSet<String> {
6363 | ^^^^^^^^^^^^^^^
@@ -71,7 +71,7 @@ LL | (HashSet::default(), HashSet::with_capacity_and_hasher(10, Default:
7171 | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7272
7373error: parameter of type `HashMap` should be generalized over different hashers
74- --> $DIR/implicit_hasher.rs:64 :23
74+ --> $DIR/implicit_hasher.rs:68 :23
7575 |
7676LL | pub fn foo(_map: &mut HashMap<i32, i32>, _set: &mut HashSet<i32>) {}
7777 | ^^^^^^^^^^^^^^^^^
@@ -81,7 +81,7 @@ LL | pub fn foo<S: ::std::hash::BuildHasher>(_map: &mut HashMap<i32, i32, S>, _s
8181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
8282
8383error: parameter of type `HashSet` should be generalized over different hashers
84- --> $DIR/implicit_hasher.rs:64 :53
84+ --> $DIR/implicit_hasher.rs:68 :53
8585 |
8686LL | pub fn foo(_map: &mut HashMap<i32, i32>, _set: &mut HashSet<i32>) {}
8787 | ^^^^^^^^^^^^
@@ -91,7 +91,7 @@ LL | pub fn foo<S: ::std::hash::BuildHasher>(_map: &mut HashMap<i32, i32>, _set:
9191 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
9292
9393error: impl for `HashMap` should be generalized over different hashers
94- --> $DIR/implicit_hasher.rs:68 :43
94+ --> $DIR/implicit_hasher.rs:72 :43
9595 |
9696LL | impl<K: Hash + Eq, V> Foo<u8> for HashMap<K, V> {
9797 | ^^^^^^^^^^^^^
@@ -108,7 +108,7 @@ LL | (HashMap::default(), HashMap::with_capacity_and_hasher(10,
108108 | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109109
110110error: parameter of type `HashMap` should be generalized over different hashers
111- --> $DIR/implicit_hasher.rs:76 :33
111+ --> $DIR/implicit_hasher.rs:80 :33
112112 |
113113LL | pub fn $name(_map: &mut HashMap<i32, i32>, _set: &mut HashSet<i32>) {}
114114 | ^^^^^^^^^^^^^^^^^
@@ -121,7 +121,7 @@ LL | pub fn $name<S: ::std::hash::BuildHasher>(_map: &mut HashMap<i32, i
121121 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
122122
123123error: parameter of type `HashSet` should be generalized over different hashers
124- --> $DIR/implicit_hasher.rs:76 :63
124+ --> $DIR/implicit_hasher.rs:80 :63
125125 |
126126LL | pub fn $name(_map: &mut HashMap<i32, i32>, _set: &mut HashSet<i32>) {}
127127 | ^^^^^^^^^^^^
0 commit comments