We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ed300f commit cfdef58Copy full SHA for cfdef58
rust-toolchain
@@ -1 +1 @@
1
-nightly-2020-06-10
+nightly-2020-06-16
src/mapping.rs
@@ -50,8 +50,7 @@ impl Hash for InherentEntry {
50
match self.kind {
51
AssocKind::Const => 0_u8.hash(hasher),
52
AssocKind::Fn => 1_u8.hash(hasher),
53
- AssocKind::OpaqueTy => 2_u8.hash(hasher),
54
- AssocKind::Type => 3_u8.hash(hasher),
+ AssocKind::Type => 2_u8.hash(hasher),
55
}
56
57
self.name.hash(hasher);
@@ -366,8 +365,7 @@ impl NameMapping {
366
365
TraitAlias | // TODO: will need some handling later on
367
AssocTy |
368
TyParam |
369
- OpaqueTy |
370
- AssocOpaqueTy => Some(&mut self.type_map),
+ OpaqueTy => Some(&mut self.type_map),
371
Fn |
372
Const |
373
ConstParam |
0 commit comments