From 436d838ad758e609667623ce5793a9d5bc3e12ff Mon Sep 17 00:00:00 2001 From: Zaki Manian Date: Sun, 3 Sep 2017 09:12:55 -0700 Subject: [PATCH] Update unit tests --- tests/ui/is_unit_expr.stderr | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/ui/is_unit_expr.stderr b/tests/ui/is_unit_expr.stderr index e69de29bb..c6e2c3aaf 100644 --- a/tests/ui/is_unit_expr.stderr +++ b/tests/ui/is_unit_expr.stderr @@ -0,0 +1,16 @@ +error: unknown lint: `unit_expr` + --> $DIR/is_unit_expr.rs:4:8 + | +4 | #[warn(unit_expr)] + | ^^^^^^^^^ + | + = note: `-D unknown-lints` implied by `-D warnings` + +error: unknown lint: `no_effect` + --> $DIR/is_unit_expr.rs:6:9 + | +6 | #[allow(no_effect)] + | ^^^^^^^^^ + +error: aborting due to 2 previous errors +