Print RPITIT verbosely if -Zverbose
This commit is contained in:
parent
0938e1680d
commit
61f097308b
@ -637,7 +637,9 @@ pub trait PrettyPrinter<'tcx>:
|
|||||||
p!(print_def_path(def_id, &[]));
|
p!(print_def_path(def_id, &[]));
|
||||||
}
|
}
|
||||||
ty::Projection(ref data) => {
|
ty::Projection(ref data) => {
|
||||||
if self.tcx().def_kind(data.item_def_id) == DefKind::ImplTraitPlaceholder {
|
if !(self.tcx().sess.verbose() || NO_QUERIES.with(|q| q.get()))
|
||||||
|
&& self.tcx().def_kind(data.item_def_id) == DefKind::ImplTraitPlaceholder
|
||||||
|
{
|
||||||
return self.pretty_print_opaque_impl_type(data.item_def_id, data.substs);
|
return self.pretty_print_opaque_impl_type(data.item_def_id, data.substs);
|
||||||
} else {
|
} else {
|
||||||
p!(print(data))
|
p!(print(data))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user