rust-analyzer
rust-analyzer copied to clipboard
Analysis gets stuck at `render_phase::draw::draw` in `bevy`
or at least it doesn't finish in 11 minutes.
Tested at ea13f0bddf22f7a5739a8efc775b014d6f008ac7.
Minimized:
trait SystemParam {
type Fetch: SystemParamFetch;
}
trait SystemParamFetch {
type Item: SystemParam<Fetch = Self>;
}
fn foo<P: SystemParam>()
where
P::Fetch: Clone,
{
bar();
}
fn bar<P: SystemParam>()
where
P::Fetch: Clone,
{
}
(for reference, foo was originally Draw::draw and bar was SystemState::get)
Turns out to be another instance of #12897
No longer hangs