fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
581 B17 linesraw
1error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
2  --> $DIR/issue-27842.rs:4:13
3   |
4LL |     let _ = tup[0];
5   |             ^^^^^^ help: to access tuple elements, use: `tup.0`
6
7error[E0608]: cannot index into a value of type `({integer}, {integer}, {integer})`
8  --> $DIR/issue-27842.rs:9:13
9   |
10LL |     let _ = tup[i];
11   |             ^^^^^^
12   |
13   = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
14
15error: aborting due to 2 previous errors
16
17For more information about this error, try `rustc --explain E0608`.