E5011 Usage Errors

Usage

return value of '%s' is not used; assign it to a variable or use '_' to discard

When this occurs

Ignoring return without `@ignore`

Example error message

error[E5011]: return value from function not used (use @ignore to discard)

How to fix

Assign the return value to a variable or explicitly ignore it if not needed.

Related errors

No related errors.