]> git.lizzy.rs Git - rust.git/blob - tests/ui-toml/expect_used/expect_used.stderr
Auto merge of #9873 - smoelius:move-line-span, r=flip1995
[rust.git] / tests / ui-toml / expect_used / expect_used.stderr
1 error: used `expect()` on an `Option` value
2   --> $DIR/expect_used.rs:6:13
3    |
4 LL |     let _ = opt.expect("");
5    |             ^^^^^^^^^^^^^^
6    |
7    = help: if this value is `None`, it will panic
8    = note: `-D clippy::expect-used` implied by `-D warnings`
9
10 error: used `expect()` on a `Result` value
11   --> $DIR/expect_used.rs:11:13
12    |
13 LL |     let _ = res.expect("");
14    |             ^^^^^^^^^^^^^^
15    |
16    = help: if this value is an `Err`, it will panic
17
18 error: aborting due to 2 previous errors
19