Module valtree

Source

Structs§

ValTree
An interned valtree. Use this rather than ValTreeKind, whenever possible.
Value
A type-level constant value.

Enums§

ValTreeKind
This datastructure is used to represent the value of constants used in the type system.

Type Aliases§

ConstToValTreeResult
Ok(Err(ty)) indicates the constant was fine, but the valtree couldn’t be constructed because the value contains something of type ty that is not valtree-compatible. The caller can then show an appropriate error; the query does not have the necessary context to give good user-facing errors for this case.