[−][src]Module rustc_middle::ty::print
Modules
| pretty |
Structs
| FmtPrinter | |
| FmtPrinterData | |
| RegionHighlightMode | The "region highlights" are used to control region printing during
specific error messages. When a "region highlight" is enabled, it
gives an alternate way to print specific regions. For now, we
always print those regions using a number, so something like " |
| TraitRefPrintOnlyTraitPath | Wrapper type for |
Traits
| PrettyPrinter | Trait for printers that pretty-print using |
| Printer | Interface for outputting user-facing "type-system entities"
(paths, types, lifetimes, constants, etc.) as a side-effect
(e.g. formatting, like |
Functions
| characteristic_def_id_of_type | |
| characteristic_def_id_of_type_cached | As a heuristic, when we see an impl, if we see that the
'self type' is a type defined in the same module as the impl,
we can omit including the path to the impl itself. This
function tries to find a "characteristic |
| provide | |
| with_crate_prefix | Adds the |
| with_forced_impl_filename_line | Force us to name impls with just the filename/line number. We normally try to use types. But at some points, notably while printing cycle errors, this can result in extra or suboptimal error output, so this variable disables that check. |
| with_no_queries | Avoids running any queries during any prints that occur
during the closure. This may alter the appearance of some
types (e.g. forcing verbose printing for opaque types).
This method is used during some queries (e.g. |
| with_no_trimmed_paths | Prevent path trimming if it is turned on. Path trimming affects |