Skip to content

Commit

Permalink
better lifetime error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Dec 29, 2018
1 parent d9e3edb commit 66a6703
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
) {
let mut diag = infcx.tcx.sess.struct_span_err(
span,
"unsatisfied lifetime constraints", // FIXME
"lifetime may not live long enough"
);

let counter = &mut 1;
Expand Down

0 comments on commit 66a6703

Please sign in to comment.