bynk.resolve.unknown_type
Error Referenced a type that does not exist.
A type name was referenced that does not exist. Types must be declared (with type), be one of Bynk's built-in types, or be brought into scope from another module before they can be named. An unknown type is usually a typo or a missing declaration/import.
Example
fn greet(u: Usr) -> String { … } // ✗ no type `Usr`fn greet(u: User) -> String { … } // ✓ the declared typeIn the Book
See also
- Every code in its category, Resolution, on the diagnostic index.
bynk explain bynk.resolve.unknown_typeshows the same from the installed toolchain, without a network.