]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/unwrap.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / unwrap.stderr
CommitLineData
f20569fa
XL
1error: used `unwrap()` on `an Option` value
2 --> $DIR/unwrap.rs:5:13
3 |
4LL | let _ = opt.unwrap();
5 | ^^^^^^^^^^^^
6 |
7 = note: `-D clippy::unwrap-used` implied by `-D warnings`
8 = help: if you don't want to handle the `None` case gracefully, consider using `expect()` to provide a better panic message
9
10error: used `unwrap()` on `a Result` value
11 --> $DIR/unwrap.rs:10:13
12 |
13LL | let _ = res.unwrap();
14 | ^^^^^^^^^^^^
15 |
16 = help: if you don't want to handle the `Err` case gracefully, consider using `expect()` to provide a better panic message
17
18error: aborting due to 2 previous errors
19