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