diff --git a/src/Review/Rule.elm b/src/Review/Rule.elm index ab910090..c3e1088f 100644 --- a/src/Review/Rule.elm +++ b/src/Review/Rule.elm @@ -4623,19 +4623,7 @@ expressionsInDeclaration node = Declaration.FunctionDeclaration function -> [ functionToExpression function ] - Declaration.CustomTypeDeclaration _ -> - [] - - Declaration.AliasDeclaration _ -> - [] - - Declaration.Destructuring _ expr -> - [ expr ] - - Declaration.PortDeclaration _ -> - [] - - Declaration.InfixDeclaration _ -> + _ -> []