Remove with_no_trimmed_paths use in query macro

This commit is contained in:
John Kåre Alsaker 2026-02-02 22:50:29 +01:00
parent f60a0f1bcc
commit a802e7c161

View file

@ -303,9 +303,7 @@ fn add_query_desc_cached_impl(
#[allow(unused_variables)]
pub fn #name<'tcx>(tcx: TyCtxt<'tcx>, key: crate::query::queries::#name::Key<'tcx>) -> String {
let (#tcx, #key) = (tcx, key);
::rustc_middle::ty::print::with_no_trimmed_paths!(
format!(#desc)
)
format!(#desc)
}
};