1
Fork 0

Clean-up formatting.

This commit is contained in:
Camille GILLOT 2022-11-11 10:32:49 +00:00
parent 60892e8b1d
commit 6c95805a34

View file

@ -693,8 +693,7 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> {
self.tcx.sess, self.tcx.sess,
lifetime.span, lifetime.span,
E0657, E0657,
"`impl Trait` can only capture lifetimes \ "`impl Trait` can only capture lifetimes bound at the fn or impl level"
bound at the fn or impl level"
) )
.emit(); .emit();
self.uninsert_lifetime_on_error(lifetime, def.unwrap()); self.uninsert_lifetime_on_error(lifetime, def.unwrap());