Printed hint for lint or_fun_call
is cropped and does not show the solution
#8239
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Description
Desctiption
Following code snippet was correctly marked by clippy as
or_fun_call
. However it's output could be better. Problem here is at the last line of this block, but clippy's hint is cropped and this bottom part is not shown. It seams that clippy is omitting different lines in the warning and in the hint.Code
Clippy's output
Version
Additional Labels
@rustbot label +C-enhancement
The text was updated successfully, but these errors were encountered: