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