2017-12-10 13:47:55 -06:00
|
|
|
error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-27842.rs:4:13
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _ = tup[0];
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^ help: to access tuple elements, use: `tup.0`
|
|
|
|
|
|
|
|
error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-27842.rs:9:13
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _ = tup[i];
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
2018-11-26 20:59:49 -06:00
|
|
|
= help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0608`.
|