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
Unwrap of None
panic in fold_free_var_lifetime
#17166
Comments
None
panic in fold_free_var_lifetime
I'm not quite sure how this code can cause that panic... must be due to inlining? fn fold_free_var_lifetime(
&mut self,
bound_var: BoundVar,
outer_binder: DebruijnIndex,
) -> Lifetime<I> {
assert_eq!(bound_var.debruijn, DebruijnIndex::INNERMOST);
let l = self.at(bound_var.index);
let l = l.assert_lifetime_ref(TypeFolder::interner(self));
l.clone()
.shifted_in_from(TypeFolder::interner(self), outer_binder)
} |
I guess #17160 didn't fix this one CC @dfireBird. |
Yeah, this and some stracktraces presented in #17080 seem same. I'm currently trying to fix that issue. |
Hello, |
Hard to say, I'm now running into this: #16376 EDIT: well wait. On the beta channel so far it seems to be better, but I've only given it a couple minutes so far. |
The following panic happens to me in both release version and pre-release version in VSCode as soon as the analyzer needs to autocomplete anything, and nearly makes it impossible to use:
rust-analyzer version:
Both of these:
rustc version: rustc 1.75.0 (82e1608df 2023-12-21)
editor or extension:
Both of these:
relevant settings: Nothing special
code snippet to reproduce: Happens on a large proprietary project, unsure what's triggering it.
The text was updated successfully, but these errors were encountered: