Closed
Description
When a struct fails the len_without_is_empty
lint, the error span shows the definition of the len
method. However, adding #[allow(len_without_is_empty)]
on the method does nothing. Clippy wants it on the struct itself. I'd expect that the place to add #[allow]
is always on the span shown in the error.