Module chalk_solve::display
source · Modules§
- bounds 🔒Writer logic for
where
clauses and other bounds. - Writer logic for simple IDs
- items 🔒Writer logic for top level items.
RenderAsRust
trait and related utils.- state 🔒Persistent state passed down between writers.
- stub 🔒Contains a
LoggingIrDatabase
which returns stub versions of everything queried. - ty 🔒Writer logic for types.
- utils 🔒Render utilities which don’t belong anywhere else.
Structs§
- Like a BoundVar, but with the debrujin index inverted so as to create a canonical name we can use anywhere for each bound variable.
- Writer state which persists across multiple writes.
Functions§
- Displays a set of bounds, all targeting
Self
, as just the trait names, separated by+
. - Displays a trait with its parameters and a single associated type - something like
IntoIterator<Item=T>
. - Displays a type with its parameters - something like
AsRef<T>
, OpaqueTyName, orAdtName<Value>
. - Processes a name given by an
Interner
debug method into something usable by thedisplay
module. - Writes out each item recorded by a
LoggingRustIrDatabase
. - Writes stubs for items which were referenced by name, but for which we didn’t directly access. For instance, traits mentioned in where bounds which are only usually checked during well-formedness, when we weren’t recording well-formedness.