Raw content of Fluent resource for this crate, generated by fluent_messages macro,
imported by rustc_driver to include all cratesโ resources in one bundle.
Implemented to visit all DefIds in a type.
Visiting DefIds is useful because visibilities and reachabilities are attached to them.
The idea is to visit โall components of a typeโ, as documented in
https://github.com/rust-lang/rfcs/blob/master/text/2145-type-privacy.md#how-to-determine-visibility-of-a-type.
The default type visitor (TypeVisitor) does most of the job, but it has some shortcomings.
First, it doesnโt have overridable fn visit_trait_ref, so we have to catch trait DefIds
manually. Second, it doesnโt visit some type components like signatures of fn types, or traits
in impl Trait, see individual comments in DefIdVisitorSkeleton::visit_ty.