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
pub trait A {
type Iter<'a>: B<'a, E = Self::E> where Self: 'a;
type E;
fn things<'a>(&'a mut self) -> Result<Self::Iter<'a>, Self::E>;
}
pub trait B<'a> {
type E;
}
thread 'rustc' panicked at rust_verify/src/lifetime_generate.rs:2292:17:
assertion failed: generic_bounds.len() == 0
I think it's probably due to the bound Self: 'a?
The text was updated successfully, but these errors were encountered:
tjhance
changed the title
Crash on assertion failure: generic_bounds.len() == 0
[lifetime-generate] Crash on assertion failure: generic_bounds.len() == 0Nov 13, 2024
I was trying to define some traits similar to an iterator, but encountered this isssue (https://play.verus-lang.org/?version=stable&mode=basic&edition=2021&gist=ff5d6a560097dc550a07be84b688629a)
I think it's probably due to the bound
Self: 'a
?The text was updated successfully, but these errors were encountered: