FuelLabs/sway · error · anyhow::Error
Undetermined or unusable TypeInfo
Error message
Undetermined or unusable TypeInfo
What it means
Error "Undetermined or unusable TypeInfo" thrown in FuelLabs/sway.
Source
Thrown at forc-plugins/forc-doc/src/render/item/type_anchor.rs:143
// TODO: determine whether we should give a link to this
if let AbiName::Known(name) = abi_name {
Ok(box_html! {
: name.suffix.as_str();
})
} else {
Err(anyhow!("Deferred AbiName is unhandled"))
}
}
TypeInfo::Custom {
qualified_call_path,
..
} => Ok(box_html! {
: qualified_call_path.call_path.suffix.as_str();
}),
TypeInfo::B256 => Ok(box_html! {
: "b256";
}),
_ => Err(anyhow!("Undetermined or unusable TypeInfo")),
}
}
View on GitHub (pinned to 47e5e902fa)
When it happens
Trigger: Thrown at forc-plugins/forc-doc/src/render/item/type_anchor.rs:143 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of FuelLabs/sway@47e5e902fa (2026-08-16).
Data as JSON: /api/errors/62635cdc58fa1f02.
Report an issue: GitHub.