//@ known-bug: #136661 #![allow(unused)] trait Supertrait {} trait Other { fn method(&self) {} } impl WithAssoc for &'static () { type As = (); } trait WithAssoc { type As; } trait Trait: Supertrait { fn method(&self) {} } fn hrtb Trait<&'a ()>>() {} pub fn main() {}