trait Get { type Value; fn get(&self) -> ::Value; } struct Struct { x: isize, } impl Struct { fn uhoh(foo: ::Value) {} //~^ ERROR the trait bound `T: Get` is not satisfied } fn main() { }