rust/tests/ui/issues/issue-27842.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
581 B
Plaintext
Raw Normal View History

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
|
2018-02-22 18:42:32 -06:00
LL | let _ = tup[0];
| ^^^^^^ 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
|
2018-02-22 18:42:32 -06:00
LL | let _ = tup[i];
| ^^^^^^
|
= help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
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`.