Skip to content

Commit

Permalink
Update type_err_ctxt_ext.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
  • Loading branch information
Milo123459 and estebank committed Oct 27, 2023
1 parent 991bf75 commit a65d99d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,10 @@ impl<'tcx> TypeErrCtxtExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
format!(" in `{t}`"),
format!("within `{t}`, "),
s.map(|s| (format!("within this `{t}`"), s)),
file.and_then(|file| Some(format!(
file.map(|file| format!(
"the full trait has been written to '{}'",
file.display(),
)))
))
)
})
.unwrap_or_default();
Expand Down

0 comments on commit a65d99d

Please sign in to comment.