rust-clippy/tests/ui/question_mark_used.stderr

12 lines
391 B
Text

error: question mark operator was used
--> $DIR/question_mark_used.rs:11:5
|
LL | other_function()?;
| ^^^^^^^^^^^^^^^^^
|
= help: consider using a custom macro or match expression
= note: `-D clippy::question-mark-used` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::question_mark_used)]`
error: aborting due to previous error