E3011 Types Errors

Types

'%s' is a type, not a value; did you mean to declare a type? (e.g., mut x %s = ...)

When this occurs

Function with unknown return type

Example error message

error[E3011]: undefined return type 'Bar' in function 'foo'

How to fix

Define the return type or check for typos.

Related errors