rustc_
middle
1.86.0-nightly
(a580b5c37 2025-01-08)
In rustc_
middle::
ty::
print::
pretty
Macros
define_helper
define_print
define_print_and_forward_display
define_scoped_cx
forward_display_to_print
p
with_crate_prefix
with_forced_impl_filename_line
with_forced_trimmed_paths
with_no_queries
with_no_trimmed_paths
with_no_visible_paths
with_reduced_queries
Structs
CratePrefixGuard
FmtPrinter
FmtPrinterData
ForceTrimmedGuard
ForcedImplGuard
NoTrimmedGuard
NoVisibleGuard
OpaqueFnEntry
PrintClosureAsImpl
ReducedQueriesGuard
RegionFolder
RegionHighlightMode
TraitPredPrintModifiersAndPath
TraitPredPrintWithBoundConstness
TraitRefPrintOnlyTraitName
TraitRefPrintOnlyTraitPath
TraitRefPrintSugared
Constants
FORCE_IMPL_FILENAME_LINE
FORCE_TRIMMED_PATH
NO_TRIMMED_PATH
NO_VISIBLE_PATH
REDUCED_QUERIES
SHOULD_PREFIX_WITH_CRATE
Traits
PrettyPrinter
PrintPolyTraitPredicateExt
PrintPolyTraitRefExt
PrintTraitPredicateExt
PrintTraitRefExt
Functions
for_each_def
guess_def_namespace
pretty_print_const
provide
trimmed_def_paths
with_crate_prefix
with_forced_impl_filename_line
with_forced_trimmed_paths
with_no_trimmed_paths
with_no_visible_paths
with_reduced_queries
rustc_middle
::
ty
::
print
::
pretty
Function
for_each_def
Copy item path
Settings
Help
Summary
Source
fn for_each_def( tcx:
TyCtxt
<'_>, collect_fn: impl for<'b>
FnMut
(&'b
Ident
,
Namespace
,
DefId
), )