2 // Check that we get an error when you use `<Self as Get>::Value` in
3 // the trait definition even if there is no default method.
10 fn okay<U:Get>(&self, foo: U, bar: <Self as Get>::Value);
23 fn okay<U:Get>(&self, _foo: U, _bar: <Self as Get>::Value) { }
27 fn okay<U:Get>(&self, _foo: U, _bar: <Self as Get>::Value) { }