1 error: used `expect()` on `an Option` value. If this value is an `None` it will panic
2 --> $DIR/expect.rs:5:13
4 LL | let _ = opt.expect("");
7 = note: `-D clippy::option-expect-used` implied by `-D warnings`
9 error: used `expect()` on `a Result` value. If this value is an `Err` it will panic
10 --> $DIR/expect.rs:10:13
12 LL | let _ = res.expect("");
15 = note: `-D clippy::result-expect-used` implied by `-D warnings`
17 error: aborting due to 2 previous errors