diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-05-18 23:28:31 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-05-18 23:28:31 +0300 |
| commit | b9a201c6dff196fc759fb1f1d3d292691fc5d99a (patch) | |
| tree | 2fa1a379c55395d8c11dac54c65144b19319e0ab /src/test | |
| parent | b344c7171e2e798307513393445739390ded6908 (diff) | |
| download | rust-b9a201c6dff196fc759fb1f1d3d292691fc5d99a.tar.gz rust-b9a201c6dff196fc759fb1f1d3d292691fc5d99a.zip | |
address review comments
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/on-unimplemented/slice-index.rs (renamed from src/test/compile-fail/on-unimplemented/libcore-index.rs) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/on-unimplemented/libcore-index.rs b/src/test/compile-fail/on-unimplemented/slice-index.rs index 6a8356040d4..6a8f9d471e1 100644 --- a/src/test/compile-fail/on-unimplemented/libcore-index.rs +++ b/src/test/compile-fail/on-unimplemented/slice-index.rs @@ -18,7 +18,7 @@ use std::ops::Index; fn main() { let x = &[1, 2, 3] as &[i32]; x[1i32]; //~ ERROR E0277 - //~| NOTE slice indices are of type usize + //~| NOTE slice indices are of type `usize` x[..1i32]; //~ ERROR E0277 - //~| NOTE slice indices are of type usize + //~| NOTE slice indices are of type `usize` } |
