We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34d717 commit 38b0117Copy full SHA for 38b0117
butane_codegen/src/lib.rs
@@ -437,7 +437,7 @@ fn derive_field_type_with_json(struct_name: &Ident) -> TokenStream2 {
437
}
438
439
#[cfg(not(feature = "json"))]
440
-fn derive_field_type_with_json(_struct_name: &Ident) -> TokenStream {
+fn derive_field_type_with_json(_struct_name: &Ident) -> TokenStream2 {
441
panic!("Feature 'json' is required to derive FieldType")
442
443
0 commit comments