You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let drop_location_span = drop_location_span(self.tcx,&closure_hir_id);
624
624
625
-
diagnostics_builder.span_label(drop_location_span,format!("in Rust 2018, `{}` would be dropped here, but in Rust 2021, only `{}` would be dropped here alongside the closure",
625
+
diagnostics_builder.span_label(drop_location_span,format!("in Rust 2018, `{}` is dropped here, but in Rust 2021, only `{}` will be dropped here as part of the closure",
let missing_trait = &reasons[..reasons.find("trait implementation").unwrap() - 1];
634
634
635
-
diagnostics_builder.span_label(closure_head_span,format!("in Rust 2018, this closure would implement {} as `{}` implements {}, but in Rust 2021, this closure would no longer implement {} as `{}` does not implement {}",
635
+
diagnostics_builder.span_label(closure_head_span,format!("in Rust 2018, this closure implements {} as `{}` implements {}, but in Rust 2021, this closure will no longer implement {} as `{}` does not implement {}",
0 commit comments