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

8 lines
174 B
Rust
Raw Normal View History

2022-10-12 10:03:46 +00:00
impl Error for str::Utf8Error {
//~^ ERROR cannot find trait `Error` in this scope
//~| ERROR ambiguous associated type
fn description(&self) {}
}
fn main() {}