Skip to content

Commit 6c95805

Browse files
committed
Clean-up formatting.
1 parent 60892e8 commit 6c95805

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

compiler/rustc_hir_analysis/src/collect/lifetimes.rs

+4-5
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,7 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> {
693693
self.tcx.sess,
694694
lifetime.span,
695695
E0657,
696-
"`impl Trait` can only capture lifetimes \
697-
bound at the fn or impl level"
696+
"`impl Trait` can only capture lifetimes bound at the fn or impl level"
698697
)
699698
.emit();
700699
self.uninsert_lifetime_on_error(lifetime, def.unwrap());
@@ -704,9 +703,9 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> {
704703
}) = self.tcx.hir().get(parent_id)
705704
{
706705
let mut err = self.tcx.sess.struct_span_err(
707-
lifetime.span,
708-
"higher kinded lifetime bounds on nested opaque types are not supported yet",
709-
);
706+
lifetime.span,
707+
"higher kinded lifetime bounds on nested opaque types are not supported yet",
708+
);
710709
err.span_note(self.tcx.def_span(def_id), "lifetime declared here");
711710
err.emit();
712711
self.uninsert_lifetime_on_error(lifetime, def.unwrap());

0 commit comments

Comments
 (0)