-
Notifications
You must be signed in to change notification settings - Fork 117
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
primary_path.borrow_mut() already borrowed in loss_recovery::timeout #1577
Comments
I'm looking at the code in question, but with my limited Rust-fu I can't tell why this error occurs. Shouldn't the |
Rust has non-lexical lifetimes, which means that in some cases a borrow might not last as long as the block in which it is found, though there is a guarantee that borrows are released at the end of a block. Looking at the code in the immediate vicinity, the calls to |
@valenting have we recently seen more crash reports like this? |
https://crash-stats.mozilla.org/report/index/42db51ff-8988-472e-a6ef-1bb380240108
crashes on https://hg.mozilla.org/releases/mozilla-esr115/file/aa9f02961b2bbb92e17fea5d6b8fd14c097baf72/third_party/rust/neqo-transport/src/recovery.rs#l943
https://searchfox.org/mozilla-central/rev/734887cfb193b5697e59a857d394e8d4245996db/third_party/rust/neqo-transport/src/recovery.rs#940-944
Report in bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1874584
The text was updated successfully, but these errors were encountered: