drive-by fmt cleanup

This commit is contained in:
Esteban Küber 2024-02-09 20:10:39 +00:00
parent 0e89465672
commit e13d452111

View File

@ -2929,7 +2929,7 @@ macro_rules! define_print_and_forward_display {
ty::ExistentialTraitRef<'tcx> {
// Use a type that can't appear in defaults of type parameters.
let dummy_self = Ty::new_fresh(cx.tcx(),0);
let dummy_self = Ty::new_fresh(cx.tcx(), 0);
let trait_ref = self.with_self_ty(cx.tcx(), dummy_self);
p!(print(trait_ref.print_only_trait_path()))
}