Skip to main content

Module pretty

Module pretty 

Source

Re-exportsยง

use std::fmt; ๐Ÿ”’
use std::fmt::Write; ๐Ÿ”’
use std::iter; ๐Ÿ”’
use expr::FieldBind; ๐Ÿ”’
use expr::pretty::aggregate_nested; ๐Ÿ”’
use flux_rustc_bridge::ToRustc; ๐Ÿ”’
use rustc_data_structures::snapshot_map::SnapshotMap; ๐Ÿ”’
use rustc_type_ir::DebruijnIndex; ๐Ÿ”’
use ty::AliasConst; ๐Ÿ”’
use ty::AliasConstKind; ๐Ÿ”’
use ty::ValTree; ๐Ÿ”’
use ty::region_to_string; ๐Ÿ”’
use super::fold::TypeVisitable; ๐Ÿ”’
use super::*; ๐Ÿ”’
use crate::pretty::*; ๐Ÿ”’

Structsยง

IdxFmt ๐Ÿ”’

Functionsยง

fmt_alias_ty ๐Ÿ”’
format_fn_root_binder ๐Ÿ”’
format_fn_root_binder_with ๐Ÿ”’
Like format_fn_root_binder but takes a closure to produce the body string, allowing the caller to format multiple pieces (e.g. return type, requires, ensures) together under the same binder context so that bound variables get the correct # decorator.