]> git.lizzy.rs Git - rust.git/blob - src/test/ui/index_message.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / index_message.stderr
1 error[E0608]: cannot index into a value of type `()`
2   --> $DIR/index_message.rs:13:13
3    |
4 LL |     let _ = z[0]; //~ ERROR cannot index into a value of type `()`
5    |             ^^^^ help: to access tuple elements, use: `z.0`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0608`.