]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-27842.stderr
Rollup merge of #107091 - clubby789:infer-ftl-missing-dollar, r=compiler-errors
[rust.git] / tests / ui / issues / issue-27842.stderr
1 error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
2   --> $DIR/issue-27842.rs:4:13
3    |
4 LL |     let _ = tup[0];
5    |             ^^^^^^ help: to access tuple elements, use: `tup.0`
6
7 error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
8   --> $DIR/issue-27842.rs:9:13
9    |
10 LL |     let _ = tup[i];
11    |             ^^^^^^
12    |
13    = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0608`.