Function rustc_middle::ty::print::with_forced_impl_filename_line[][src]

pub fn with_forced_impl_filename_line<F: FnOnce() -> R, R>(f: F) -> R
Expand description

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.