{"record":{"id":"5f0a13de9d27a7b1","repo":"DioxusLabs/dioxus","slug":"self-type-is-not-supported","errorCode":null,"errorMessage":"Self type is not supported","messagePattern":"Self type is not supported","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/fullstack-macro/src/lib.rs","lineNumber":850,"sourceCode":"                if let FnArg::Typed(pat_type) = item {\n                    if let syn::Pat::Ident(pat_ident) = &*pat_type.pat\n                        && (self.path_params.iter().any(|(_slash, path_param)| {\n                            if let Some((path_ident, _ty)) = path_param.capture() {\n                                path_ident == &pat_ident.ident\n                            } else {\n                                false\n                            }\n                        }) || self\n                            .query_params\n                            .iter()\n                            .any(|query| query.binding == pat_ident.ident))\n                    {\n                        return None;\n                    }\n\n                    Some((i, pat_type.clone()))\n                } else {\n                    unimplemented!(\"Self type is not supported\")\n                }\n            })\n            .collect()\n    }\n\n    pub(crate) fn to_doc_comments(&self) -> TokenStream2 {\n        let mut doc = format!(\n            \"# Handler information\n- Method: `{}`\n- Path: `{}`\",\n            self.method.to_axum_method_name(),\n            self.route_lit\n                .as_ref()\n                .map(|lit| lit.value())\n                .unwrap_or_else(|| \"<auto>\".into()),\n        );\n\n        if let Some(options) = &self.oapi_options {","sourceCodeStart":832,"sourceCodeEnd":868,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/393d190a801ccb441d41923e232289b4f8a5c669/packages/fullstack-macro/src/lib.rs#L832-L868","documentation":"Error \"Self type is not supported\" thrown in DioxusLabs/dioxus.","triggerScenarios":"Thrown at packages/fullstack-macro/src/lib.rs:850 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"}