1 error: confusing error return, consider using `return Err(err)`
2 --> $DIR/try_err.rs:7:5
5 | ^^^^^^^^^ help: try this: `return Err(err)`
7 note: lint level defined here
8 --> $DIR/try_err.rs:1:9
10 LL | #![deny(clippy::try_err)]
13 error: confusing error return, consider using `return Err(err.into())`
14 --> $DIR/try_err.rs:14:5
17 | ^^^^^^^^^ help: try this: `return Err(err.into())`
19 error: confusing error return, consider using `return Err(err)`
20 --> $DIR/try_err.rs:31:13
23 | ^^^^^^^^^ help: try this: `return Err(err)`
25 error: confusing error return, consider using `return Err(err.into())`
26 --> $DIR/try_err.rs:46:13
29 | ^^^^^^^^^ help: try this: `return Err(err.into())`
31 error: aborting due to 4 previous errors