{"record":{"id":"14059f8bba197e0c","repo":"DioxusLabs/dioxus","slug":"props-is-not-supported-for-tuple-structs","errorCode":null,"errorMessage":"Props is not supported for tuple structs","messagePattern":"Props is not supported for tuple structs","errorType":"validation","errorClass":"syn::Error","httpStatus":null,"severity":"error","filePath":"packages/core-macro/src/props/mod.rs","lineNumber":53,"sourceCode":"                    .included_fields()\n                    .filter(|f| {\n                        f.builder_attr.default.is_none() && f.builder_attr.extends.is_empty()\n                    })\n                    .map(|f| struct_info.required_field_impl(f))\n                    .collect::<Result<Vec<_>, _>>()?;\n                let build_method = struct_info.build_method_impl();\n\n                quote! {\n                    #builder_creation\n                    #conversion_helper\n                    #( #fields )*\n                    #( #extends )*\n                    #( #required_fields )*\n                    #build_method\n                }\n            }\n            syn::Fields::Unnamed(_) => {\n                return Err(Error::new(\n                    ast.span(),\n                    \"Props is not supported for tuple structs\",\n                ));\n            }\n            syn::Fields::Unit => {\n                return Err(Error::new(\n                    ast.span(),\n                    \"Props is not supported for unit structs\",\n                ));\n            }\n        },\n        syn::Data::Enum(_) => {\n            return Err(Error::new(ast.span(), \"Props is not supported for enums\"));\n        }\n        syn::Data::Union(_) => {\n            return Err(Error::new(ast.span(), \"Props is not supported for unions\"));\n        }\n    };","sourceCodeStart":35,"sourceCodeEnd":71,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/393d190a801ccb441d41923e232289b4f8a5c669/packages/core-macro/src/props/mod.rs#L35-L71","documentation":"Error \"Props is not supported for tuple structs\" thrown in DioxusLabs/dioxus.","triggerScenarios":"Thrown at packages/core-macro/src/props/mod.rs:53 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"393d190a801ccb441d41923e232289b4f8a5c669","analyzedAt":"2026-08-16T11:27:45.815Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}