ameliatastic / seahorse-lang

Write Anchor-compatible Solana programs in Python
Apache License 2.0
320 stars 46 forks source link

Hide rust warning messages when compiling #13

Closed acheroncrypto closed 2 years ago

acheroncrypto commented 2 years ago

This PR hides warning messages of unused_imports unused_variables unused_mut.

If this solution is not appropriate, we could also add an optional argument about whether to hide rust warnings to from_seahorse_ast function.

After the changes, there are no more unnecessary warnings: image

Closes #12

ameliatastic commented 2 years ago

great idea :D