1 2 3 4 5 6 7
impl Error for str::Utf8Error { //~^ ERROR cannot find trait `Error` in this scope //~| ERROR ambiguous associated type fn description(&self) {} } fn main() {}