redundant_closure_for_method_calls
suggesting a private module/type
#10095
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Summary
I noticed this bug while working on a project using https://github.com/lyssieth/htp/tree/lyssieth-time-support, specifically that it was trying to use a private module from that branch of
htp
Lint Name
redundant_closure_for_method_calls
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
It to not trigger, as if the lint is applied, it causes an error instead.
htp::unified
is a private module ofhtp
.Version
Additional Labels
@rustbot label +I-suggestion-causes-error
The text was updated successfully, but these errors were encountered: