2 Checks if a provided method is used implicitly by a trait
3 implementation. A usage example would be a wrapper where every method
4 should perform some operation before delegating to the inner type's
7 This lint should typically be enabled on a specific trait `impl` item
11 Indicates that a method is missing.
21 #[warn(clippy::missing_trait_methods)]
23 fn required() { /* ... */ }
34 #[warn(clippy::missing_trait_methods)]
36 fn required() { /* ... */ }
38 fn provided() { /* ... */ }