diff options
author | Florian Diebold <[email protected]> | 2021-04-08 12:51:04 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-04-08 13:23:17 +0100 |
commit | a838a60caaa5351d7543bcbebb1aa976b0b73f39 (patch) | |
tree | e17994fe7a56f78c4770f227d75e9913ea4766db /crates/hir_ty/src/walk.rs | |
parent | f43edb2151408d0127201312ade7fef9d9328222 (diff) |
Fix missing match arms
Diffstat (limited to 'crates/hir_ty/src/walk.rs')
-rw-r--r-- | crates/hir_ty/src/walk.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir_ty/src/walk.rs b/crates/hir_ty/src/walk.rs index 28875dbe0..57343fd61 100644 --- a/crates/hir_ty/src/walk.rs +++ b/crates/hir_ty/src/walk.rs | |||
@@ -93,6 +93,7 @@ impl TypeWalk for GenericArg { | |||
93 | GenericArgData::Ty(ty) => { | 93 | GenericArgData::Ty(ty) => { |
94 | ty.walk(f); | 94 | ty.walk(f); |
95 | } | 95 | } |
96 | _ => {} | ||
96 | } | 97 | } |
97 | } | 98 | } |
98 | } | 99 | } |
@@ -122,6 +123,7 @@ impl TypeWalk for WhereClause { | |||
122 | match self { | 123 | match self { |
123 | WhereClause::Implemented(trait_ref) => trait_ref.walk(f), | 124 | WhereClause::Implemented(trait_ref) => trait_ref.walk(f), |
124 | WhereClause::AliasEq(alias_eq) => alias_eq.walk(f), | 125 | WhereClause::AliasEq(alias_eq) => alias_eq.walk(f), |
126 | _ => {} | ||
125 | } | 127 | } |
126 | } | 128 | } |
127 | } | 129 | } |