Module rustc_infer::infer::need_type_info
source · Structs§
- 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§
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 thefn_sig
of closures also doesn’t work as they actually use the “rust-call” API.