Function rustc_monomorphize::collector::shrunk_instance_name
source · [−]fn shrunk_instance_name<'tcx>(
tcx: TyCtxt<'tcx>,
instance: &Instance<'tcx>,
before: usize,
after: usize
) -> (String, Option<PathBuf>)
Expand description
Format instance name that is already known to be too long for rustc. Show only the first and last 32 characters to avoid blasting the user’s terminal with thousands of lines of type-name.
If the type name is longer than before+after, it will be written to a file.