mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
393 B
Text
12 lines
393 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 1 previous error
|
|
|