drive-by fmt cleanup
This commit is contained in:
parent
0e89465672
commit
e13d452111
@ -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()))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user