1 error: used `expect()` on an `Option` value
2 --> $DIR/expect.rs:5:13
4 LL | let _ = opt.expect("");
7 = help: if this value is `None`, it will panic
8 = note: `-D clippy::expect-used` implied by `-D warnings`
10 error: used `expect()` on a `Result` value
11 --> $DIR/expect.rs:10:13
13 LL | let _ = res.expect("");
16 = help: if this value is an `Err`, it will panic
18 error: used `expect_err()` on a `Result` value
19 --> $DIR/expect.rs:11:13
21 LL | let _ = res.expect_err("");
24 = help: if this value is an `Ok`, it will panic
26 error: aborting due to 3 previous errors