Module clippy_utils::consts

source ·

Structs

Enums

A LitKind-like enum to fold constant Exprs into.

Functions

Creates a ConstEvalLateContext from the given LateContext and TypeckResults.
Parses a LitKind to a Constant.