diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-20 18:50:13 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-20 18:52:43 -0700 |
| commit | 613deb03127d0930e4624d0c0a8744c849093019 (patch) | |
| tree | a76ccd9d70d96658881175d5ce58e91c0d332816 /src | |
| parent | 39c05b4b655d1f0197882a32a8b49fbd35aa1075 (diff) | |
| download | rust-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.rs | 3 |
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 `()` } |
