diff options
Diffstat (limited to 'src/test/run-fail/small-negative-indexing.rs')
| -rw-r--r-- | src/test/run-fail/small-negative-indexing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-fail/small-negative-indexing.rs b/src/test/run-fail/small-negative-indexing.rs index fe3fb448f6f..87df00fcce5 100644 --- a/src/test/run-fail/small-negative-indexing.rs +++ b/src/test/run-fail/small-negative-indexing.rs @@ -12,5 +12,5 @@ fn main() { let v = vec::from_fn(1024u, {|n| n}); // this should trip a bounds check - log(error, v[-1i8]); + error!(v[-1i8]); } |
