Open Manishearth opened 5 years ago
// run-rustfix
seems to apply even MaybeIncorrect
ones, unless there is rustfix-only-machine-applicable
directive. 😞
There is // rustfix-only-machine-applicable
, which we could add to those lints. If we run cargo fix --clippy
only the MachineApplicable
lints get applied? In that case we could run rustfix tests only for MachineApplicable
lints.
Maybe we should invert those? But that sounds annoying too, maybe we should just close this.
Applying
// run-rustfix
totests/ui/float_cmp_const.rs
causes theHasPlaceholders
suggestions contained within that lint to be applied.Do we actually want this behavior?
HasPlaceholders
suggestions are things that should be applied manually imo.