// check-pass // compile-flags: -Zsave-analysis trait Trait { type Assoc; } trait GenericTrait {} struct Wrapper { b: B } fn func() { // Processing associated path in impl block definition inside a function // body does not ICE impl GenericTrait for Wrapper {} } fn main() {}