blob: e1d91638d2c77a4aa37d480a8f72fe29aed83a6d (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: unneeded `return` statement with `?` operator
--> $DIR/needless_return_with_question_mark.rs:28:5
|
LL | return Err(())?;
| ^^^^^^^ help: remove it
|
= note: `-D clippy::needless-return-with-question-mark` implied by `-D warnings`
error: aborting due to previous error
|