about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-06-20 18:50:13 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-06-20 18:52:43 -0700
commit613deb03127d0930e4624d0c0a8744c849093019 (patch)
treea76ccd9d70d96658881175d5ce58e91c0d332816 /src
parent39c05b4b655d1f0197882a32a8b49fbd35aa1075 (diff)
downloadrust-613deb03127d0930e4624d0c0a8744c849093019.tar.gz
rust-613deb03127d0930e4624d0c0a8744c849093019.zip
Change error to debug
IMO this is a better workaround than using the old-style
error-pattern: syntax :-)
Diffstat (limited to 'src')
-rw-r--r--src/test/compile-fail/index_message.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/compile-fail/index_message.rs b/src/test/compile-fail/index_message.rs
index 76616819712..4c8a9f10e66 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 `()`
 }