// run-rustfix #![allow(unused_variables)] trait Get { type Value; fn get(&self) -> ::Value; } trait Other { fn uhoh(&self, foo: U, bar: ::Value) {} //~^ ERROR the trait bound `Self: Get` is not satisfied } fn main() { }