rust/tests/ui/resolve/issue-102946.rs

8 lines
174 B
Rust

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