From 613deb03127d0930e4624d0c0a8744c849093019 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 20 Jun 2012 18:50:13 -0700 Subject: [PATCH] Change error to debug IMO this is a better workaround than using the old-style error-pattern: syntax :-) --- src/test/compile-fail/index_message.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/compile-fail/index_message.rs b/src/test/compile-fail/index_message.rs index 76616819712f..4c8a9f10e665 100644 --- a/src/test/compile-fail/index_message.rs +++ b/src/test/compile-fail/index_message.rs @@ -1,5 +1,4 @@ -// error-pattern:cannot index a value of type `()` fn main() { let z = (); - log(error, z[0]); + log(debug, z[0]); //! ERROR cannot index a value of type `()` }