1 error: returning an `Err(_)` with the `?` operator
2 --> $DIR/try_err.rs:15:9
5 | ^^^^^^^^^ help: try this: `return Err(err)`
7 note: the lint level is defined here
8 --> $DIR/try_err.rs:4:9
10 LL | #![deny(clippy::try_err)]
13 error: returning an `Err(_)` with the `?` operator
14 --> $DIR/try_err.rs:25:9
17 | ^^^^^^^^^ help: try this: `return Err(err.into())`
19 error: returning an `Err(_)` with the `?` operator
20 --> $DIR/try_err.rs:45:17
23 | ^^^^^^^^^ help: try this: `return Err(err)`
25 error: returning an `Err(_)` with the `?` operator
26 --> $DIR/try_err.rs:64:17
29 | ^^^^^^^^^ help: try this: `return Err(err.into())`
31 error: returning an `Err(_)` with the `?` operator
32 --> $DIR/try_err.rs:103:9
35 | ^^^^^^^^^^^^ help: try this: `return Err(foo!())`
37 error: aborting due to 5 previous errors