We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db96de commit eac84d7Copy full SHA for eac84d7
compiler/rustc_middle/src/ty/print/pretty.rs
@@ -371,6 +371,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write {
371
&& self.tcx().sess.opts.trimmed_def_paths
372
&& !with_no_trimmed_paths()
373
&& !with_crate_prefix()
374
+ && !with_no_queries()
375
&& let Some(symbol) = self.tcx().trimmed_def_paths(()).get(&def_id)
376
{
377
write!(self, "{}", Ident::with_dummy_span(*symbol))?;
0 commit comments