We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40b3c38 + 8d55aa2 commit a059231Copy full SHA for a059231
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