diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-26 16:23:34 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-26 16:43:33 -0800 |
| commit | 28fbb19664db24c9d40e81f74bf75ac1d5d0f36b (patch) | |
| tree | f11aafd32c44b3f90c981668f6e2fe2533a0ffe0 /src/test | |
| parent | 2220d0f20f7faf63de3bb805fcfa0fa7a4c416ee (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.rs | 4 |
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 |
