This PR removes debug error messages, which might confuse users since they suggest that something went wrong on the IDL generation. These were introduced with the new idl_instruction attribute.
Debug error messages currently being displayed (and removed by this PR):
[resolve_rust_ty] Ident(Metadata): TypeKind::Value(Value::Custom("Metadata"))
[resolve_rust_ty] Ident(DelegateInput): TypeKind::Value(Value::Custom("DelegateInput"))
[resolve_rust_ty] Ident(Extension): TypeKind::Value(Value::Custom("Extension"))
[resolve_rust_ty] Ident(DelegateInput): TypeKind::Value(Value::Custom("DelegateInput"))
[resolve_rust_ty] Ident(UpdateInput): TypeKind::Value(Value::Custom("UpdateInput"))
[resolve_rust_ty] Ident(Data): TypeKind::Value(Value::Custom("Data"))
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
no #[idl_instruction] attributes found
[resolve_rust_ty] Ident(String): TypeKind::Value(Value::String)
[resolve_rust_ty] Ident(Standard): TypeKind::Value(Value::Custom("Standard"))
[resolve_rust_ty] Ident(bool): TypeKind::Primitive(Primitive::Bool)
[resolve_rust_ty] Ident(ExtensionType): TypeKind::Value(Value::Custom("ExtensionType"))
[resolve_rust_ty] Ident(u32): TypeKind::Primitive(Primitive::U32)
[resolve_rust_ty] Ident(u8): TypeKind::Primitive(Primitive::U8)
[resolve_rust_ty] Ident(Vec): TypeKind::Composite(Composite::Vec, [RustType { ident: Ident(u8), kind: TypeKind::Primitive(Primitive::U8), reference: ParsedReference::Owned, context: CollectionItem }])
[resolve_rust_ty] Ident(Option): TypeKind::Composite(Composite::Option, [RustType { ident: Ident(Vec), kind: TypeKind::Composite(Composite::Vec, [RustType { ident: Ident(u8), kind: TypeKind::Primitive(Primitive::U8), reference: ParsedReference::Own
This PR removes debug error messages, which might confuse users since they suggest that something went wrong on the IDL generation. These were introduced with the new
idl_instruction
attribute.Debug error messages currently being displayed (and removed by this PR):
It also fixes clippy warnings.