From 19f119caec2d7f36a7069ea33d23d5545fca0476 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 31 Jan 2017 11:19:49 +0100 Subject: [PATCH] fix println message in tests --- tests/compile-fail/matches.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compile-fail/matches.rs b/tests/compile-fail/matches.rs index 7f6bd73d2c3f..6cfb45e1f7e6 100644 --- a/tests/compile-fail/matches.rs +++ b/tests/compile-fail/matches.rs @@ -271,8 +271,8 @@ fn overlapping() { } match 42 { - 0 .. 11 => println!("0 ... 10"), //~ERROR: some ranges overlap - 0 ... 11 => println!("0 ... 10"), //~NOTE overlaps with this + 0 .. 11 => println!("0 .. 11"), //~ERROR: some ranges overlap + 0 ... 11 => println!("0 ... 11"), //~NOTE overlaps with this _ => (), }