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