2 Checks for `.err().expect()` calls on the `Result` type.
5 `.expect_err()` can be called directly to avoid the extra type conversion from `err()`.
9 let x: Result<u32, &str> = Ok(10);
10 x.err().expect("Testing err().expect()");
14 let x: Result<u32, &str> = Ok(10);
15 x.expect_err("Testing expect_err");