You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.