Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cfdef58

Browse files
committedNov 7, 2020
1 parent 5ed300f commit cfdef58

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed
 

‎rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2020-06-10
1+
nightly-2020-06-16

‎src/mapping.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ impl Hash for InherentEntry {
5050
match self.kind {
5151
AssocKind::Const => 0_u8.hash(hasher),
5252
AssocKind::Fn => 1_u8.hash(hasher),
53-
AssocKind::OpaqueTy => 2_u8.hash(hasher),
54-
AssocKind::Type => 3_u8.hash(hasher),
53+
AssocKind::Type => 2_u8.hash(hasher),
5554
}
5655

5756
self.name.hash(hasher);
@@ -366,8 +365,7 @@ impl NameMapping {
366365
TraitAlias | // TODO: will need some handling later on
367366
AssocTy |
368367
TyParam |
369-
OpaqueTy |
370-
AssocOpaqueTy => Some(&mut self.type_map),
368+
OpaqueTy => Some(&mut self.type_map),
371369
Fn |
372370
Const |
373371
ConstParam |

0 commit comments

Comments
 (0)
Please sign in to comment.