-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change in lifetime inference? #46184
Comments
Ah, I wonder if I fingered the wrong suspect. The impl trait stuff that's recently been merged (#45918) seems a more plausible culprit? |
This affects embed-rs/net as well:
|
#46205 may also be relevant? |
Can one of you isolate these examples at all? We did make changes to how |
With a recent nightly, I no longer get an error on that version of lrtable. [If you want to replicate it, clone https://github.com/softdevteam/lrtable/commit/ce03d95d4a5b722b4335c19fc2cc459777ce4195 then edit this line in Cargo.toml:
to:
] |
Closing as per @ltratt's prior comment. |
On lrtable (at least as of commit softdevteam/lrtable@ce03d95), @snim2 found that the current Rust nightly gives this error:
We've hacked around this temporarily by returning a
Box
instead of the iterator directly, but this code used to compile, and I'm not sure if it's intentional that it doesn't compile any more or not?The text was updated successfully, but these errors were encountered: