Module rustc_infer::infer::error_reporting::need_type_info[−][src]

Structs

FindHirNodeVisitor
InferenceDiagnosticsData

Information about a constant or a type containing inference variables.

InferenceDiagnosticsParentData

Data on the parent definition where a generic argument was declared.

Enums

TypeAnnotationNeeded
UnderspecifiedArgKind
UseDiagnostic

An observation about the use site of a type to be emitted as an additional note in an inference failure error.

Functions

closure_args

Given a closure signature, return a String containing a list of all its argument types.

closure_return_type_suggestion

Suggest giving an appropriate return type to a closure expression.