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
The current suggestion seems to be identical to the code that exists? (Sometimes it doesn't give the full set of annotations immediately, and you have to adjust & recompile a few times to reach the final correct solution, but this doesn't seem to be the case here.)
Here is some playpen code: http://is.gd/0HoeAB
Within it, there is the following routine:
The signature above has a bug; it omitted a lifetime on the type of
nodes
.The current lifetime suggestion that
rustc
produces does not include that though.The current lifetime suggestion says:
when I think it should be:
(Note the additional
'
ain the type of
nodes`.)At least, after adding that, the playpen code gets further along in compilation.
(Sorry for not reducing the test case further. Hopefully I will get the chance to do so in the near future.)
The text was updated successfully, but these errors were encountered: