Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 7395e03

Browse files
committed
1 parent d5a6867 commit 7395e03

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)