We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 376c81c + 61f0973 commit dbff6a9Copy full SHA for dbff6a9
compiler/rustc_middle/src/ty/print/pretty.rs
@@ -637,7 +637,9 @@ pub trait PrettyPrinter<'tcx>:
637
p!(print_def_path(def_id, &[]));
638
}
639
ty::Projection(ref data) => {
640
- if self.tcx().def_kind(data.item_def_id) == DefKind::ImplTraitPlaceholder {
+ if !(self.tcx().sess.verbose() || NO_QUERIES.with(|q| q.get()))
641
+ && self.tcx().def_kind(data.item_def_id) == DefKind::ImplTraitPlaceholder
642
+ {
643
return self.pretty_print_opaque_impl_type(data.item_def_id, data.substs);
644
} else {
645
p!(print(data))
0 commit comments