blob: e6e3ad79185d14e38d54d1d03a574ec8bab2f3a8 [file] [log] [blame]
// Ensures that the path of the `Error` type is not trimmed
// to make it clear which Error type is meant.
fn main() {
meow().unknown(); //~ ERROR no method named `unknown` found
//~^ NOTE method not found in `Result<(), std::io::Error>`
}
fn meow() -> Result<(), std::io::Error> {
Ok(())
}