mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
better lifetime error message
This commit is contained in:
@@ -505,7 +505,7 @@ fn report_general_error(
|
||||
) {
|
||||
let mut diag = infcx.tcx.sess.struct_span_err(
|
||||
span,
|
||||
"unsatisfied lifetime constraints", // FIXME
|
||||
"lifetime may not live long enough"
|
||||
);
|
||||
|
||||
let counter = &mut 1;
|
||||
|
||||
Reference in New Issue
Block a user