better lifetime error message
This commit is contained in:
parent
daa53a52a2
commit
2f8a77445f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue