We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b3c38 commit 8d55aa2Copy full SHA for 8d55aa2
1 file changed
crates/wac-types/src/aggregator.rs
@@ -679,8 +679,8 @@ impl TypeAggregator {
679
.get(&ItemKind::Type(Type::Value(ValueType::Defined(id))))
680
{
681
return match kind {
682
- ItemKind::Value(ValueType::Defined(id)) => *id,
683
- _ => panic!("expected a defined type"),
+ ItemKind::Type(Type::Value(ValueType::Defined(id))) => *id,
+ _ => panic!("expected a defined type got {kind:?}"),
684
};
685
}
686
0 commit comments