gemini-code-assist[bot] commented on code in PR #129:
URL: https://github.com/apache/tvm-ffi/pull/129#discussion_r2433131789
##########
rust/tvm-ffi-macros/src/utils.rs:
##########
@@ -58,7 +58,7 @@ pub(crate) fn attr_to_str(attr: &syn::Attribute) ->
syn::LitStr {
lit: syn::Lit::Str(s),
..
})) => s,
- Ok(m) => panic!("Expected a string literal, got"),
+ Ok(_m) => panic!("Expected a string literal, got"),
Review Comment:

To improve debuggability, it would be helpful to include the unexpected
value in the panic message. The `syn::Meta` type implements `Debug`, so you can
include it in the formatted string.
```suggestion
Ok(m) => panic!("Expected a string literal, but got {:?}", m),
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]