From c922eb9db5bf122cd92d973240c29832ce8883f9 Mon Sep 17 00:00:00 2001 From: Owen Sanchez Date: Sat, 4 Feb 2017 22:09:54 -0700 Subject: [PATCH] Suggest to use a wrapper in the wiki for the empty_enum lint --- clippy_lints/src/empty_enum.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clippy_lints/src/empty_enum.rs b/clippy_lints/src/empty_enum.rs index f930a8599e2..896087f4706 100644 --- a/clippy_lints/src/empty_enum.rs +++ b/clippy_lints/src/empty_enum.rs @@ -6,7 +6,8 @@ use utils::span_lint_and_then; /// **What it does:** Checks for `enum`s with no variants. /// -/// **Why is this bad?** Enum's with no variants should be replaced with `!`. +/// **Why is this bad?** Enum's with no variants should be replaced with `!`, the uninhabited type, +/// or a wrapper around it. /// /// **Known problems:** None. ///