about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-26 16:23:34 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-26 16:43:33 -0800
commit28fbb19664db24c9d40e81f74bf75ac1d5d0f36b (patch)
treef11aafd32c44b3f90c981668f6e2fe2533a0ffe0 /src/test
parent2220d0f20f7faf63de3bb805fcfa0fa7a4c416ee (diff)
rustc: Switch the --no-core switch to a #[no_core] attribute
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/no-core-attribute.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/no-core-attribute.rs b/src/test/compile-fail/no-core-attribute.rs
index f39aa2eff2d..7ed010476cd 100644
--- a/src/test/compile-fail/no-core-attribute.rs
+++ b/src/test/compile-fail/no-core-attribute.rs
@@ -1,6 +1,6 @@
-// error-pattern: whatever
+// error-pattern:unresolved name: debug
 #[no_core];
 
 fn main() {
-    log(debug, core::int::max_value);
+    log(debug, 0);
 }
\ No newline at end of file