Module rustc_infer::infer::error_reporting::need_type_info
source · Structs
CostCtxt 🔒
A visitor which searches for the “best” spot to use in the inference error.
Information about a constant or a type containing inference variables.
Data on the parent definition where a generic argument was declared.
Enums
Statics
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
CALLSITE 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
META 🔒
Functions
We don’t want to directly use
ty_to_string for closures as their type isn’t really
something users are familiar with. Directly printing the fn_sig of closures also
doesn’t work as they actually use the “rust-call” API.