Skip to main content

Module inlay_hints

Module inlay_hints 

Source
Expand description

Inlay hints (ADR-0091 Phase 6).

  • After each let binding without an explicit type annotation, show the inferred type (: i32).
  • After each unnamed call argument, show the parameter name (x: 42).

Structs§

InlayHint

Enums§

InlayKind

Functions§

inlay_hints
Produce all inlay hints for a file. expr_types is the side-table populated by Phase 4.