]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tuple/tuple-index-out-of-bounds.stderr
Rollup merge of #56217 - frewsxcv:frewsxcv-float-parse, r=QuietMisdreavus
[rust.git] / src / test / ui / tuple / tuple-index-out-of-bounds.stderr
1 error[E0609]: no field `2` on type `Point`
2   --> $DIR/tuple-index-out-of-bounds.rs:7:12
3    |
4 LL |     origin.2;
5    |            ^ help: a field with a similar name exists: `0`
6
7 error[E0609]: no field `2` on type `({integer}, {integer})`
8   --> $DIR/tuple-index-out-of-bounds.rs:12:11
9    |
10 LL |     tuple.2;
11    |           ^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0609`.