Skip to content

Commit

Permalink
drive-by fmt cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Feb 10, 2024
1 parent ac9ba07 commit a3e9744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/print/pretty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2912,7 +2912,7 @@ 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()))
}
Expand Down

0 comments on commit a3e9744

Please sign in to comment.